summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* ldb:ldb_dn.c - "ldb_dn_set_extended_component" - free the linearized string ↵Matthias Dieter Wallnöfer2010-06-291-2/+4
| | | | when the components change
* s4:ldb_dn.c - make the code parts which free extended components consistentMatthias Dieter Wallnöfer2010-06-291-9/+7
| | | | Cosmetic
* ldb:ldb_dn - "ldb_dn_explode" - move the "dn->comp_num" initalisation ↵Matthias Dieter Wallnöfer2010-06-291-3/+3
| | | | | | upwards and use "LDB_FREE" for freeing "dn->components" Mostly cosmetic - no behaviour change
* s4-smbtorture: remove some pointless mem_equal tests in LOCAL-NDR-WINREG ↵Günther Deschner2010-06-291-3/+0
| | | | | | testsuite. Guenther
* s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation ↵Günther Deschner2010-06-291-2/+6
| | | | | | | | test. When skipping over it, we can at least verify the credential chain. Guenther
* s4-smbtorture: use TEST_MACHINE_NAME in test_netr_GetForestTrustInformation().Günther Deschner2010-06-291-1/+1
| | | | Guenther
* s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON.Günther Deschner2010-06-292-0/+40
| | | | Guenther
* Revert "s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP ↵Matthias Dieter Wallnöfer2010-06-291-8/+6
| | | | | | | | backend." This reverts commit ed4c107bc1eac8531fdd8d09f7698efcbc7ecb14. See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
* Revert "s4/auth: Fixed authsam_expand_nested_groups() to find entry SID if ↵Matthias Dieter Wallnöfer2010-06-291-21/+4
| | | | | | | | not available in the DN." This reverts commit fa9557fee3ca546878d99b77f1ff37f724c37024. See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
* s4-smbtorture: add NDR torture test for winreg_QueryMultipleValues2.Günther Deschner2010-06-291-0/+47
| | | | Guenther
* s4-smbtorture: add RPC torture test for winreg_QueryMultipleValues2.Günther Deschner2010-06-291-0/+41
| | | | Guenther
* winreg: fix winreg_QueryMultipleValues() IDL and torture tests.Günther Deschner2010-06-292-23/+23
| | | | Guenther
* Fixed incorrect use of cn instead of lDAPDisplayNameNadezhda Ivanova2010-06-291-2/+2
|
* s4:secrets Ensure secrets.ldb uses the same hooks as the rest of SambaAndrew Bartlett2010-06-292-46/+13
| | | | | | | This ensures that, for example, the utf8 functions are the same, the GUID handler is the same and the NOSYNC flag is applied. Andrew Bartlett
* s4:selftest Split out PKINIT tests from test_kinit.sh and test enc typesAndrew Bartlett2010-06-291-1/+4
| | | | | | | | | | | This allows us to run the PKINIT tests only against the main DC (for which the certificates were generated), while testing the available encryption types in each functional level. In particular, we need to assert that AES encryption is available in the 2008 functional level. Andrew Bartlett
* s4:kdc Rework the 'allowed enc types' calculationAndrew Bartlett2010-06-291-41/+35
| | | | | | | | | | This changes the calculation to apply the allowed enc types to all uses of the key (no point allowing a weak kinit to a key the server wanted strongly protected). It also ensures that all the non-DES keys are available on the krbtgt in particular, even as it does not have a msds-SupportedEncryptionTypes attributes. Andrew Bartlett
* s4:auth Query LDB for msds-SupportedEncryptionTypes for the KDCAndrew Bartlett2010-06-291-0/+1
| | | | | | The KDC needs this to determine what encryption types an entry supports Andrew Bartlett
* s4:kerberos Add functions to convert msDS-SupportedEncryptionTypesAndrew Bartlett2010-06-292-0/+60
| | | | | | This will allow us to interpret this attibute broadly in Samba. Andrew Bartlett
* s4:libnet_join Fix typo in msDS-SupportedEncryptionTypesAndrew Bartlett2010-06-291-1/+1
|
* s4:provision Add an msDS-SupportedEncryptionTypes entry to our DCAndrew Bartlett2010-06-293-2/+35
| | | | | | | | This ensures that our DC will use all the available encyption types. (The KDC reads this entry to determine what the server supports) Andrew Bartlett
* build: only use git when found by configureAndrew Tridgell2010-06-291-2/+17
| | | | | | this rebuilds version.h whenever the git version changes, so we always get the right version with samba -V. That adds about 15s to the build time on each git commit, which shouldn't be too onerous
* s4/repl_meta_data: remove duplicated (and commented out) logKamen Mazdrashki2010-06-291-6/+0
|
* s4/ndr: Fix tuncating of constant to a 'long' typeKamen Mazdrashki2010-06-291-2/+2
|
* s4:lib/registry/ldb.c - add a missing braceMatthias Dieter Wallnöfer2010-06-281-1/+1
| | | | Sorry didn't check that earlier.
* s4:lib/registry/ldb.c - fix memory handling in "ldb_open_key"Matthias Dieter Wallnöfer2010-06-281-1/+4
|
* s4:lib/ldb/registry.c - handle the classname in the right wayMatthias Dieter Wallnöfer2010-06-281-1/+8
| | | | This is for "ldb_get_key_info".
* s4:lib/registry/ldb.c - remove really useless "local_ctx"Matthias Dieter Wallnöfer2010-06-281-8/+2
| | | | "mem_ctx" should fit for these few local allocations.
* s4:lib/registry/ldb.c - retrieve the classname correctly in ↵Matthias Dieter Wallnöfer2010-06-281-7/+6
| | | | "ldb_get_subkey_by_id"
* s4:lib/registry/ldb.c - change the "ldb_get_value" implementation to use the ↵Matthias Dieter Wallnöfer2010-06-281-20/+17
| | | | | | value cache and not an LDB lookup In addition this fixes the use of special characters in registry object names.
* s4:auth/sam.c - "authsam_expand_nested_groups" - small performance improvementMatthias Dieter Wallnöfer2010-06-281-3/+7
| | | | | We can save one search operation if "only_childs" is false and when we had no SID passed as extended DN component.
* s4:auth/sam.c - "authsam_expand_nested_groups" - cosmetic/commentsMatthias Dieter Wallnöfer2010-06-281-9/+11
|
* s4:auth/sam.c - "authsam_expand_nested_groups" - use "dsdb_search_dn" where ↵Matthias Dieter Wallnöfer2010-06-281-3/+11
| | | | | | possible And always catch LDB errors
* selftest: Remove accidentally committed dummy test.Jelmer Vernooij2010-06-281-1/+0
|
* s4/spnupdate: Fixed spnupdate to use secrets credentials when accessing SamDB.Endi S. Dewata2010-06-281-3/+30
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4/libcli: Register LDB_CONTROL_REVEAL_INTERNALS and ↵Endi S. Dewata2010-06-281-0/+4
| | | | | | DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID controls. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP backend.Endi S. Dewata2010-06-281-6/+8
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4/auth: Fixed authsam_expand_nested_groups() to find entry SID if not ↵Endi S. Dewata2010-06-281-1/+8
| | | | | | available in the DN. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4:repl_meta_data LDB module - fix counter typeMatthias Dieter Wallnöfer2010-06-281-1/+1
|
* s4:acl LDB module - fix counter typeMatthias Dieter Wallnöfer2010-06-281-1/+2
|
* s4:dcesrv_drsuapi.c - fix a counter variableMatthias Dieter Wallnöfer2010-06-281-2/+1
|
* s4:selftest - also "rpc.samr.users.privileges" does work nowMatthias Dieter Wallnöfer2010-06-281-1/+0
|
* s4:lsa RPC server - Fix up "dcesrv_lsa_DeleteObject"Matthias Dieter Wallnöfer2010-06-281-3/+6
| | | | | | - Return always "NT_STATUS_OK" on success - Remove "talloc_free"s on handles since the frees are automatically performed by the DCE/RPC server code
* s4:knownfail - "pwdLastSet" test does work nowMatthias Dieter Wallnöfer2010-06-281-1/+0
|
* s4:torture/rpc/samr.c - test_SetPassword_LastSet - introduce the delays also ↵Matthias Dieter Wallnöfer2010-06-281-1/+2
| | | | for s4
* s4:torture - SAMR password tests - activate support for password sets on ↵Matthias Dieter Wallnöfer2010-06-281-22/+17
| | | | level "18" and "21"
* s4:dcesrv_samr_SetUserInfo - implement right "pwdLastSet" behaviourMatthias Dieter Wallnöfer2010-06-281-1/+72
| | | | Behaviour as the torture SAMR passwords tests show.
* s4:dcesrv_samr_SetUserInfo - deny operations when "fields_present" is 0Matthias Dieter Wallnöfer2010-06-281-0/+9
| | | | Taken from s3
* s4:dcesrv_samr_SetUserInfo - port the "SAMR_FIELD_LAST_PWD_CHANGE" check ↵Matthias Dieter Wallnöfer2010-06-281-0/+8
| | | | from s3 to s4
* s4:dcesrv_samr_SetUserInfo - implement password set level 21Matthias Dieter Wallnöfer2010-06-281-0/+33
|
* s4:dcesrv_samr_SetUserInfo - implement case 18 which allows to reset the ↵Matthias Dieter Wallnöfer2010-06-281-0/+10
| | | | user password