Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c: Use ↵ | Kamen Mazdrashki | 2010-07-02 | 1 | -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 Mazdrashki | 2010-07-02 | 1 | -2/+2 |
| | | | | | | DSDB_FLAG_NEXT_MODULE flag Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4/dsdb: Add DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 2010-07-02 | 1 | -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öfer | 2010-07-01 | 1 | -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öfer | 2010-07-01 | 1 | -1/+10 |
| | | | | | | "talloc_free"s No other functional change | ||||
* | s4:registry - move some common constraint checks to the "local" backend | Matthias Dieter Wallnöfer | 2010-07-01 | 2 | -24/+24 |
| | | | | They should also be enforced when we don't use "ldb". | ||||
* | s4:lib/registry/tests/registry.c - test recursive key generation | Matthias Dieter Wallnöfer | 2010-07-01 | 1 | -8/+3 |
| | |||||
* | s4:registry - on key add operations we have to handle with paths not always ↵ | Matthias Dieter Wallnöfer | 2010-07-01 | 3 | -5/+5 |
| | | | | | | only a name Recursive key generations are allowed. | ||||
* | s4:lib/registry/local.c - support recursive key generation | Matthias Dieter Wallnöfer | 2010-07-01 | 1 | -40/+53 |
| | | | | Code taken from "local_open_key". | ||||
* | s4:lib/registry/ldb.c - refactor "reg_path_to_ldb" | Matthias Dieter Wallnöfer | 2010-07-01 | 1 | -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öfer | 2010-07-01 | 1 | -14/+14 |
| | | | | varibale identifiers | ||||
* | s4:lib/registry/ldb.c - "ldb_add_key" - fix talloc handling | Matthias Dieter Wallnöfer | 2010-07-01 | 1 | -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 Deschner | 2010-06-30 | 1 | -1/+1 |
| | | | | | | length to 16 bytes. Guenther | ||||
* | s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3. | Günther Deschner | 2010-06-30 | 1 | -3/+2 |
| | | | | Guenther | ||||
* | s4-smbtorture: add some more multiple_values_tests to RPC-WINREG. | Günther Deschner | 2010-06-30 | 1 | -1/+12 |
| | | | | Guenther | ||||
* | s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/ | Stefan Metzmacher | 2010-06-30 | 9 | -8/+8 |
| | | | | metze | ||||
* | s4:ldb/python: make it possible to run tests standalone | Stefan Metzmacher | 2010-06-30 | 8 | -3/+22 |
| | | | | metze | ||||
* | s4:auth/session.c - suppress a warning when freeing "group_string" | Matthias Dieter Wallnöfer | 2010-06-30 | 1 | -3/+5 |
| | |||||
* | s4:schema/schema_set.c - free LDB message diffs | Anatoliy Atanasov | 2010-06-30 | 1 | -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 needed | Anatoliy Atanasov | 2010-06-30 | 1 | -1/+1 |
| | | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> | ||||
* | s4:dsdb Fix possible schema segfaults for DRS-replication based schema | Andrew Bartlett | 2010-06-30 | 1 | -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 Deschner | 2010-06-29 | 1 | -10/+1 |
| | | | | Guenther | ||||
* | s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}. | Günther Deschner | 2010-06-29 | 1 | -0/+221 |
| | | | | Guenther | ||||
* | s4:ntvfs/ipc/vfs_ipc.c - remove unused code | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -4/+0 |
| | | | | Spotted by the Solaris 10 compiler | ||||
* | s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10 | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -3/+3 |
| | |||||
* | s4:ntp_signd/ntp_signd.c - add casts to suppress warnings on Solaris 10 | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -2/+2 |
| | |||||
* | s4:rpc_server/browser.c - remove unused code | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -2/+0 |
| | | | | Spotted by the Solaris 10 compiler | ||||
* | s4:smb_server/smb2/find.c - remove unused code | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -3/+0 |
| | | | | Spotted by the Solaris 10 compiler | ||||
* | s4:smb_server/blob.c - remove unused code | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -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öfer | 2010-06-29 | 1 | -3/+1 |
| | | | | also below the "if" block | ||||
* | ldb:ldb_map_outbound.c - "ldb_parse_tree_collect_attrs" - remove unneeded ↵ | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -2/+0 |
| | | | | return value | ||||
* | ldb:ldb_modules.c - "ldb_dso_load_symbol" - remove unneeded caste before "dlsym" | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -2/+1 |
| | |||||
* | s4:ldb - "ldb_dn_update_components" - fix free of invalid DN parts | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -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öfer | 2010-06-29 | 1 | -2/+4 |
| | | | | when the components change | ||||
* | s4:ldb_dn.c - make the code parts which free extended components consistent | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -9/+7 |
| | | | | Cosmetic | ||||
* | ldb:ldb_dn - "ldb_dn_explode" - move the "dn->comp_num" initalisation ↵ | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -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 Deschner | 2010-06-29 | 1 | -3/+0 |
| | | | | | | testsuite. Guenther | ||||
* | s4-smbtorture: handle NT_STATUS_NOT_IMPLEMENTED in GetForestTrustInformation ↵ | Günther Deschner | 2010-06-29 | 1 | -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 Deschner | 2010-06-29 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | s4-smbtorture: add netr_GetForestTrustInformation test to RPC-NETLOGON. | Günther Deschner | 2010-06-29 | 2 | -0/+40 |
| | | | | Guenther | ||||
* | Revert "s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP ↵ | Matthias Dieter Wallnöfer | 2010-06-29 | 1 | -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öfer | 2010-06-29 | 1 | -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 Deschner | 2010-06-29 | 1 | -0/+47 |
| | | | | Guenther | ||||
* | s4-smbtorture: add RPC torture test for winreg_QueryMultipleValues2. | Günther Deschner | 2010-06-29 | 1 | -0/+41 |
| | | | | Guenther | ||||
* | winreg: fix winreg_QueryMultipleValues() IDL and torture tests. | Günther Deschner | 2010-06-29 | 2 | -23/+23 |
| | | | | Guenther | ||||
* | Fixed incorrect use of cn instead of lDAPDisplayName | Nadezhda Ivanova | 2010-06-29 | 1 | -2/+2 |
| | |||||
* | s4:secrets Ensure secrets.ldb uses the same hooks as the rest of Samba | Andrew Bartlett | 2010-06-29 | 2 | -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 types | Andrew Bartlett | 2010-06-29 | 1 | -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' calculation | Andrew Bartlett | 2010-06-29 | 1 | -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 KDC | Andrew Bartlett | 2010-06-29 | 1 | -0/+1 |
| | | | | | | The KDC needs this to determine what encryption types an entry supports Andrew Bartlett |