Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-02 | s4-smbtorture: enable extended SetValue test against Samba3. | Günther Deschner | 1 | -3/+2 | |
Guenther | |||||
2010-07-02 | s4-ldb: fixed error handling in openldap backend | Andrew Tridgell | 1 | -5/+15 | |
fixed several bugs in error handling. the ldb context was used without being initialised in the error paths, and several error paths did not set an ldb error string. | |||||
2010-07-02 | s4-ldb: fixed the parsing of references in the openldap backend | Andrew Tridgell | 1 | -5/+6 | |
We need to use ldap_parse_reference() not ldap_parse_result() | |||||
2010-07-02 | s4-dsdb: fixed use after free of sasl mechanisms opaque | Andrew Tridgell | 1 | -0/+6 | |
the supportedSASLMechanisms opaque must live for at least as long as the ldb, or we can crash when the first connection is torn down Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-dsdb: fixed spelling of supportedSASLMechanisms | Andrew Tridgell | 2 | -2/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4:dsdb Ensure we free old schema copies | Andrew Bartlett | 1 | -6/+25 | |
It was reported by aatanasov that we kept around one whole schema per modification made. This does not fix that, but I hope moves us closer to a fix The most important part of the fix is that: - if (schema_out != schema_in) { - talloc_unlink(schema_in, ldb); - } was the wrong way around. This is now handled in the schema_set calls. Andrew Bartlett | |||||
2010-07-02 | s4/dsdb: Assert DSDB_FLAG_*_MODULE is always passed in function call | Kamen Mazdrashki | 1 | -0/+5 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 1 | -2/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/subtree_delete.c: Use ↵ | Kamen Mazdrashki | 1 | -1/+3 | |
DSDB_FLAG_NEXT_MODULE flag Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/schema_load.c: Use DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 1 | -1/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/samldb.c: Use DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 1 | -4/+5 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/samba3sid.c: Use DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 1 | -1/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/rootdse.c: Use DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 1 | -2/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/ridalloc.c: Use DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-source4/dsdb/samdb/ldb_modules/repl_meta_data.c: Use ↵ | Kamen Mazdrashki | 1 | -4/+5 | |
DSDB_FLAG_NEXT_MODULE flag Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4-dsdb/samdb/ldb_modules/linked_attributes.c: make use of ↵ | Kamen Mazdrashki | 1 | -2/+2 | |
DSDB_FLAG_NEXT_MODULE flag Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-02 | s4/dsdb: Add DSDB_FLAG_NEXT_MODULE flag | Kamen Mazdrashki | 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> | |||||
2010-07-01 | s4:dsdb/tests/python/passwords.py - add the right result codes for user ↵ | Matthias Dieter Wallnöfer | 1 | -1/+5 | |
password changes They will be enabled once the ACL modules supports it. It was my fault to not import them earlier. | |||||
2010-07-01 | s4:lib/registry/ldb.c - free some "msg" objects earlier through explicit ↵ | Matthias Dieter Wallnöfer | 1 | -1/+10 | |
"talloc_free"s No other functional change | |||||
2010-07-01 | s4:registry - move some common constraint checks to the "local" backend | Matthias Dieter Wallnöfer | 2 | -24/+24 | |
They should also be enforced when we don't use "ldb". | |||||
2010-07-01 | s4:lib/registry/tests/registry.c - test recursive key generation | Matthias Dieter Wallnöfer | 1 | -8/+3 | |
2010-07-01 | s4:registry - on key add operations we have to handle with paths not always ↵ | Matthias Dieter Wallnöfer | 3 | -5/+5 | |
only a name Recursive key generations are allowed. | |||||
2010-07-01 | s4:lib/registry/local.c - support recursive key generation | Matthias Dieter Wallnöfer | 1 | -40/+53 | |
Code taken from "local_open_key". | |||||
2010-07-01 | s4:lib/registry/ldb.c - refactor "reg_path_to_ldb" | Matthias Dieter Wallnöfer | 1 | -19/+21 | |
This makes it easier to understand and would also support splitting in more DN components. | |||||
2010-07-01 | s4:lib/registry/ldb.c - use "ldb_path" rather than "ldap_path" as LDB key ↵ | Matthias Dieter Wallnöfer | 1 | -14/+14 | |
varibale identifiers | |||||
2010-07-01 | s4:lib/registry/ldb.c - "ldb_add_key" - fix talloc handling | Matthias Dieter Wallnöfer | 1 | -8/+14 | |
- free "msg" when possible - prevent "talloc_strdup"s where not necessary | |||||
2010-06-30 | s4-smbtorture: in extended setvalue winreg test, reduce max random buffer ↵ | Günther Deschner | 1 | -1/+1 | |
length to 16 bytes. Guenther | |||||
2010-06-30 | s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3. | Günther Deschner | 1 | -3/+2 | |
Guenther | |||||
2010-06-30 | s4-smbtorture: add some more multiple_values_tests to RPC-WINREG. | Günther Deschner | 1 | -1/+12 | |
Guenther | |||||
2010-06-30 | s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/ | Stefan Metzmacher | 9 | -8/+8 | |
metze | |||||
2010-06-30 | s4:ldb/python: make it possible to run tests standalone | Stefan Metzmacher | 8 | -3/+22 | |
metze | |||||
2010-06-30 | s4:auth/session.c - suppress a warning when freeing "group_string" | Matthias Dieter Wallnöfer | 1 | -3/+5 | |
2010-06-30 | s4:schema/schema_set.c - free LDB message diffs | Anatoliy Atanasov | 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> | |||||
2010-06-30 | s4:auth/session.c - free "group_string" when not needed | Anatoliy Atanasov | 1 | -1/+1 | |
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> | |||||
2010-06-30 | s4:dsdb Fix possible schema segfaults for DRS-replication based schema | Andrew Bartlett | 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 | |||||
2010-06-29 | s4-smbtorture: remove duplicate torture_assert_sid_equal macro. | Günther Deschner | 1 | -10/+1 | |
Guenther | |||||
2010-06-29 | s4-smbtorture: add more sophisticated tests for winreg_QueryMultipleValues{2}. | Günther Deschner | 1 | -0/+221 | |
Guenther | |||||
2010-06-29 | s4:ntvfs/ipc/vfs_ipc.c - remove unused code | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
Spotted by the Solaris 10 compiler | |||||
2010-06-29 | s4:ntvfs/ipc/vfs_ipc.c - add casts to suppress warnings on Solaris 10 | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
2010-06-29 | s4:ntp_signd/ntp_signd.c - add casts to suppress warnings on Solaris 10 | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-06-29 | s4:rpc_server/browser.c - remove unused code | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
Spotted by the Solaris 10 compiler | |||||
2010-06-29 | s4:smb_server/smb2/find.c - remove unused code | Matthias Dieter Wallnöfer | 1 | -3/+0 | |
Spotted by the Solaris 10 compiler | |||||
2010-06-29 | s4:smb_server/blob.c - remove unused code | Matthias Dieter Wallnöfer | 1 | -8/+0 | |
Spotted by the Solaris 10 compiler | |||||
2010-06-29 | s4:dsdb/new_partition.c - remove the "ldb_next_request" call which we find ↵ | Matthias Dieter Wallnöfer | 1 | -3/+1 | |
also below the "if" block | |||||
2010-06-29 | ldb:ldb_map_outbound.c - "ldb_parse_tree_collect_attrs" - remove unneeded ↵ | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
return value | |||||
2010-06-29 | ldb:ldb_modules.c - "ldb_dso_load_symbol" - remove unneeded caste before "dlsym" | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2010-06-29 | s4:ldb - "ldb_dn_update_components" - fix free of invalid DN parts | Matthias Dieter Wallnöfer | 1 | -4/+3 | |
Use "LDB_FREE" for such free operations and in addition wipe also the casefolded DN out. | |||||
2010-06-29 | ldb:ldb_dn.c - "ldb_dn_set_extended_component" - free the linearized string ↵ | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
when the components change | |||||
2010-06-29 | s4:ldb_dn.c - make the code parts which free extended components consistent | Matthias Dieter Wallnöfer | 1 | -9/+7 | |
Cosmetic | |||||
2010-06-29 | ldb:ldb_dn - "ldb_dn_explode" - move the "dn->comp_num" initalisation ↵ | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
upwards and use "LDB_FREE" for freeing "dn->components" Mostly cosmetic - no behaviour change |