summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:subtree_rename LDB module - Cosmetic fixesMatthias Dieter Wallnöfer2010-07-041-3/+4
|
* s4:subtree_delete LDB module - fix comments and add my copyrightMatthias Dieter Wallnöfer2010-07-041-2/+3
| | | | (I've introduced the subtree delete mechanism)
* s4:wb_cmd_list_groups.c - don't crash when we don't get any group at allMatthias Dieter Wallnöfer2010-07-041-2/+4
|
* s4:wb_cmd_list_groups.c - indentation and comment fixesMatthias Dieter Wallnöfer2010-07-041-9/+11
|
* s4:libnet - add missing "talloc_free"s for "c" contexts on "recv" operationsMatthias Dieter Wallnöfer2010-07-043-5/+8
|
* s4:torture/rpc/samlogon.c - strip trailing whitespacesMatthias Dieter Wallnöfer2010-07-031-199/+199
|
* s4:torture/rpc/samlogon.c - provide a function which sets and afterwards ↵Matthias Dieter Wallnöfer2010-07-031-0/+97
| | | | | | resets the minimum password age This is needed since we on s4 do now use the Windows Server standard of 1 day.
* s4:dsdb/tests/python/ldap_schema.py - remove a now useless "schemaUpdateNow" ↵Matthias Dieter Wallnöfer2010-07-031-10/+0
| | | | | | request "schemaUpdateNow" on s4 is now a non-op and therefore not strictly needed anymore.
* s4:urgent_replication.py test - remove unneeded "relax" control parametersMatthias Dieter Wallnöfer2010-07-031-2/+2
|
* s4:schema_load LDB module - fix a segfault condition on schema refreshMatthias Dieter Wallnöfer2010-07-031-0/+5
| | | | | | | | | The schema refresh operation itself starts requests from the top of the LDB modules stack (see call "dsdb_schema_set_attributes" - search operations). This doesn't work well when these do perform "dsdb_get_schema" calls. Since the new schema isn't marked as "refreshed" atm (but in fact it still is - we didn't terminate the reload/refresh yet) we could perform other calls to "dsdb_schema_refresh" and run into serious trouble (segfault).
* s4:schema_set.c - Fix a commentMatthias Dieter Wallnöfer2010-07-031-1/+2
|
* s4:dsdb_schema_set_attributes - remove unneeded filter criteriasMatthias Dieter Wallnöfer2010-07-031-2/+4
| | | | | We already choose the right entry by specifying the right basedn with scope "LDB_SCOPE_BASE".
* s4:dsdb_module_load_partition_usn - check for "res->count" equal/unequal to 1Matthias Dieter Wallnöfer2010-07-031-1/+1
|
* s4:schema_set.c - fix typoMatthias Dieter Wallnöfer2010-07-031-1/+3
|
* s4:schema_load.c - jump to "failed" on an error conditionMatthias Dieter Wallnöfer2010-07-031-3/+2
|
* s4:setup/provision_basedn_modify.ldif - set "minPwdAge" to the right valueMatthias Dieter Wallnöfer2010-07-031-2/+1
| | | | Now we should have fixed all password related tests to cooperate with this value
* s4:pwsettings net utility - change also here the "minPwdAge" to be the real ↵Matthias Dieter Wallnöfer2010-07-031-2/+2
| | | | | | default Which is one day.
* s4:dsdb/tests/passwords.py - set and reset the "minPwdAge" properlyMatthias Dieter Wallnöfer2010-07-031-2/+21
| | | | | | | | | | After a patch proposal of Nadya and some reflection I think that it's really worth to change all tests which need a "0" "minPwdAge" to set it manually and reset the default afterwards. So we can finally introduce the default "minPwdAge" on provision. Patch proposal by: Nadya Ivanova
* Tests for user-change-password and force-password-change access rightsNadezhda Ivanova2010-07-021-4/+242
|
* s4/schema: remove unnecessary deletion of dsdb_schema cached pointerAnatoliy Atanasov2010-07-021-3/+0
| | | | | This is needed so we can find and free old schemas based using the cached pointer
* s4-smbtorture: enable extended SetValue test against Samba3.Günther Deschner2010-07-021-3/+2
| | | | Guenther
* s4-ldb: fixed error handling in openldap backendAndrew Tridgell2010-07-021-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.
* s4-ldb: fixed the parsing of references in the openldap backendAndrew Tridgell2010-07-021-5/+6
| | | | We need to use ldap_parse_reference() not ldap_parse_result()
* s4-dsdb: fixed use after free of sasl mechanisms opaqueAndrew Tridgell2010-07-021-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>
* s4-dsdb: fixed spelling of supportedSASLMechanismsAndrew Tridgell2010-07-022-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb Ensure we free old schema copiesAndrew Bartlett2010-07-021-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
* s4/dsdb: Assert DSDB_FLAG_*_MODULE is always passed in function callKamen Mazdrashki2010-07-021-0/+5
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-021-2/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-source4/dsdb/samdb/ldb_modules/subtree_delete.c: Use ↵Kamen Mazdrashki2010-07-021-1/+3
| | | | | | DSDB_FLAG_NEXT_MODULE flag Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-source4/dsdb/samdb/ldb_modules/schema_load.c: Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-021-1/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-source4/dsdb/samdb/ldb_modules/samldb.c: Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-021-4/+5
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-source4/dsdb/samdb/ldb_modules/samba3sid.c: Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-021-1/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-source4/dsdb/samdb/ldb_modules/rootdse.c: Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-021-2/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-source4/dsdb/samdb/ldb_modules/ridalloc.c: Use DSDB_FLAG_NEXT_MODULE flagKamen Mazdrashki2010-07-021-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* 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