summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c: Use ↵Kamen Mazdrashki2010-07-021-4/+5
| | | | | | DSDB_FLAG_NEXT_MODULE flag Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb/samdb/ldb_modules/linked_attributes.c: make use of ↵Kamen Mazdrashki2010-07-021-2/+2
| | | | | | DSDB_FLAG_NEXT_MODULE flag Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4/dsdb: Add DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-021-0/+1
| | | | | | | | | | | | Although it is not currently used in implementation, my intention is for callers to clearly state what action they want to execute. Currently when a caller wants to pass the call to the next module in the chain, this flag is either omitted or 0 is used (which is somewhat hacky, isn't it) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb/tests/python/passwords.py - add the right result codes for user ↵Matthias Dieter Wallnöfer2010-07-011-1/+5
| | | | | | | password changes They will be enabled once the ACL modules supports it. It was my fault to not import them earlier.
* s4:lib/registry/ldb.c - free some "msg" objects earlier through explicit ↵Matthias Dieter Wallnöfer2010-07-011-1/+10
| | | | | | "talloc_free"s No other functional change
* s4:registry - move some common constraint checks to the "local" backendMatthias Dieter Wallnöfer2010-07-012-24/+24
| | | | They should also be enforced when we don't use "ldb".
* s4:lib/registry/tests/registry.c - test recursive key generationMatthias Dieter Wallnöfer2010-07-011-8/+3
|
* s4:registry - on key add operations we have to handle with paths not always ↵Matthias Dieter Wallnöfer2010-07-013-5/+5
| | | | | | only a name Recursive key generations are allowed.
* s4:lib/registry/local.c - support recursive key generationMatthias Dieter Wallnöfer2010-07-011-40/+53
| | | | Code taken from "local_open_key".
* s4:lib/registry/ldb.c - refactor "reg_path_to_ldb"Matthias Dieter Wallnöfer2010-07-011-19/+21
| | | | | This makes it easier to understand and would also support splitting in more DN components.
* s4:lib/registry/ldb.c - use "ldb_path" rather than "ldap_path" as LDB key ↵Matthias Dieter Wallnöfer2010-07-011-14/+14
| | | | varibale identifiers
* s4:lib/registry/ldb.c - "ldb_add_key" - fix talloc handlingMatthias Dieter Wallnöfer2010-07-011-8/+14
| | | | | - free "msg" when possible - prevent "talloc_strdup"s where not necessary
* s4-smbtorture: in extended setvalue winreg test, reduce max random buffer ↵Günther Deschner2010-06-301-1/+1
| | | | | | length to 16 bytes. Guenther
* s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.Günther Deschner2010-06-301-3/+2
| | | | Guenther
* s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.Günther Deschner2010-06-301-1/+12
| | | | Guenther
* s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/Stefan Metzmacher2010-06-309-8/+8
| | | | metze
* s4:ldb/python: make it possible to run tests standaloneStefan Metzmacher2010-06-308-3/+22
| | | | metze
* s4:auth/session.c - suppress a warning when freeing "group_string"Matthias Dieter Wallnöfer2010-06-301-3/+5
|
* s4:schema/schema_set.c - free LDB message diffsAnatoliy Atanasov2010-06-301-0/+2
| | | | | | | Especially the "free"s after "ldb_msg_diff" are very important since the diff message is allocated on the long-living LDB context. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4:auth/session.c - free "group_string" when not neededAnatoliy Atanasov2010-06-301-1/+1
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4:dsdb Fix possible schema segfaults for DRS-replication based schemaAndrew Bartlett2010-06-301-17/+13
| | | | | | | | | The problem here is that if the schema has been modified on the source domain, there may be attributes that appear over DRS with 0 values (to indicate that any existing values on the target should be deleted). This would confuse the previous version of this macro. Andrew Bartlett
* s4-smbtorture: remove duplicate torture_assert_sid_equal macro.Günther Deschner2010-06-291-10/+1
| | | | Guenther
* s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}.Günther Deschner2010-06-291-0/+221
| | | | Guenther
* s4:ntvfs/ipc/vfs_ipc.c - remove unused codeMatthias Dieter Wallnöfer2010-06-291-4/+0
| | | | Spotted by the Solaris 10 compiler
* s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10Matthias Dieter Wallnöfer2010-06-291-3/+3
|
* s4:ntp_signd/ntp_signd.c - add casts to suppress warnings on Solaris 10Matthias Dieter Wallnöfer2010-06-291-2/+2
|
* s4:rpc_server/browser.c - remove unused codeMatthias Dieter Wallnöfer2010-06-291-2/+0
| | | | Spotted by the Solaris 10 compiler
* s4:smb_server/smb2/find.c - remove unused codeMatthias Dieter Wallnöfer2010-06-291-3/+0
| | | | Spotted by the Solaris 10 compiler
* s4:smb_server/blob.c - remove unused codeMatthias Dieter Wallnöfer2010-06-291-8/+0
| | | | Spotted by the Solaris 10 compiler
* s4:dsdb/new_partition.c - remove the "ldb_next_request" call which we find ↵Matthias Dieter Wallnöfer2010-06-291-3/+1
| | | | also below the "if" block
* ldb:ldb_map_outbound.c - "ldb_parse_tree_collect_attrs" - remove unneeded ↵Matthias Dieter Wallnöfer2010-06-291-2/+0
| | | | return value
* ldb:ldb_modules.c - "ldb_dso_load_symbol" - remove unneeded caste before "dlsym"Matthias Dieter Wallnöfer2010-06-291-2/+1
|
* s4:ldb - "ldb_dn_update_components" - fix free of invalid DN partsMatthias Dieter Wallnöfer2010-06-291-4/+3
| | | | | Use "LDB_FREE" for such free operations and in addition wipe also the casefolded DN out.
* 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