summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* s3-registry: avoid using registry_value union.Günther Deschner2010-07-0212-186/+233
| | | | | | Just pull and push data as is. 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>
* s3:auth Fix switch statement referencing a uninitialized variableSimo Sorce2010-07-011-1/+1
| | | | | | | Looking at the original commit (9a747d500fad699038ecf75615c680a9fd9e4cc7) this seem the right solution. Andrew please check.
* s3-nss_info: only include nss_info.h where needed.Günther Deschner2010-07-015-1/+4
| | | | Guenther
* s3-libads: move ldap posix schema defines to their own header file.Günther Deschner2010-07-016-65/+65
| | | | Guenther
* s3-libads: move spnego defines to their appropriate header file.Günther Deschner2010-07-012-6/+6
| | | | Guenther
* s3-libads: only include libds flags where needed.Günther Deschner2010-07-0111-2/+11
| | | | Guenther
* s3-libads: move keytab macros out of ads.h.Günther Deschner2010-07-013-18/+21
| | | | Guenther
* s3-libads: move ads_dns out of main includes.Günther Deschner2010-07-019-32/+35
| | | | Guenther
* s3-libads: move ads_status to a separate header file.Günther Deschner2010-07-014-43/+43
| | | | Guenther
* s3-libads: move ads_protos.h to ads_ldap_protos.h.Günther Deschner2010-07-012-20/+20
| | | | Guenther
* s3-waf: fix the build after smbd/change_trust_pw.c removal.Günther Deschner2010-07-011-1/+1
| | | | Guenther
* tdb: fix the build on mac os x 10.6.4.Günther Deschner2010-07-011-0/+4
| | | | Guenther
* s3-libnet_join: small IDL enhancement.Günther Deschner2010-07-012-4/+2
| | | | Guenther
* s3-libads: use shared well known guids.Günther Deschner2010-07-013-6/+3
| | | | Guenther
* s3-libads: move KRB5_ENV_CCNAME to separate header krb5_env.h.Günther Deschner2010-07-013-3/+3
| | | | Guenther
* 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
* s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner2010-07-012-8/+17
| | | | Guenther
* s3-registry: fix malloc/talloc mismatch upon free in reg_enumvalue().Günther Deschner2010-07-011-1/+1
| | | | Guenther
* s4-smbtorture: in extended setvalue winreg test, reduce max random buffer ↵Günther Deschner2010-06-301-1/+1
| | | | | | length to 16 bytes. Guenther
* s3-docs: try to make "default case" explanation a little clearer.Günther Deschner2010-06-301-5/+5
| | | | Guenther
* s3-libsmb: move change_trust_account_password out of smbd into libsmb.Günther Deschner2010-06-304-107/+76
| | | | Guenther
* s4-smbtorture: enable QueryMultipleValues{2} torture tests against samba3.Günther Deschner2010-06-301-3/+2
| | | | Guenther
* s3-winreg: implement _winreg_QueryMultipleValues().Günther Deschner2010-06-301-6/+15
| | | | Guenther
* s3-winreg: implement _winreg_QueryMultipleValues2().Günther Deschner2010-06-301-5/+114
| | | | Guenther
* s3-registry: add reg_querymultiplevalues() to reg_api.Günther Deschner2010-06-302-0/+56
| | | | Guenther
* s4-smbtorture: add some more multiple_values_tests to RPC-WINREG.Günther Deschner2010-06-301-1/+12
| | | | Guenther