Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s4-drs: implementation of some delete test cases | Eduardo Lima | 2010-01-28 | 1 | -0/+200 |
| | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | s4: Fix a few warnings. | Jelmer Vernooij | 2010-01-21 | 1 | -0/+2 |
| | |||||
* | ldap: Fix test failure that seemed to go unreported previously. | Jelmer Vernooij | 2010-01-17 | 1 | -2/+1 |
| | |||||
* | ldap.py: Remove unused imports. | Jelmer Vernooij | 2010-01-17 | 1 | -18/+4 |
| | |||||
* | Import testtools as well, required for subunit. | Jelmer Vernooij | 2010-01-16 | 4 | -8/+4 |
| | |||||
* | s4-ldb: cope with bad ptr alignment in ldb_index.c | Andrew Tridgell | 2010-01-16 | 1 | -3/+3 |
| | | | | | We can't assume that a rec_ptr will come back from a tdb traverse with alignment sufficient for a pointer. | ||||
* | s4:ldb/tests: do a "schemaUpdateNow" after creating a new attribute in ↵ | Stefan Metzmacher | 2010-01-13 | 1 | -0/+10 |
| | | | | | | | | | | | ldap_schema.py It seems that windows doesn't need that. And we should think about a check for reloading the schema at the start of each "write" operation. metze | ||||
* | s4:ldb_msg: first try to decode integers as signed and then fallback to unsigned | Stefan Metzmacher | 2010-01-13 | 1 | -0/+18 |
| | | | | | | | | LDAP only knowns about signed integers, so let ldb_msg_find_attr_as_uint() and ldb_msg_find_attr_as_uint64() cope with it. metze | ||||
* | s4:ldb: be more strict in parsing ldb time strings | Stefan Metzmacher | 2010-01-13 | 1 | -4/+4 |
| | | | | metze | ||||
* | s4-ldb: display security descriptors with correct SDL for known SIDs | Andrew Tridgell | 2010-01-10 | 1 | -0/+6 |
| | | | | This makes it much easier to compare SDs | ||||
* | s4-ldb: validate the type of the ldb argument to ldb_dn_new() | Andrew Tridgell | 2010-01-09 | 1 | -1/+7 |
| | | | | | It has been a common bug to get the first two arguments the wrong way around | ||||
* | s4-acl: fixed acl.py test to use correct ldif | Andrew Tridgell | 2010-01-08 | 1 | -1/+2 |
| | | | | same problem as sec_descriptor.py | ||||
* | s4-secdesc: fixed the sec_descriptor.py test | Andrew Tridgell | 2010-01-08 | 1 | -42/+74 |
| | | | | | | | | | | The test was using a "changetype: add" to try and add a member to a group, where it should use a "changetype: modify" with a "add: member" Also fixed the recovery when the test fails part way through (delete the test users at the start as well as the end) Nadya, please check! | ||||
* | s4-ldb: improve error handling in indexing code | Andrew Tridgell | 2010-01-08 | 2 | -5/+34 |
| | | | | When we get an indexing failure we want a clear error message | ||||
* | s4:ldap_schema.py - add an additional check for validity of ↵ | Matthias Dieter Wallnöfer | 2010-01-05 | 1 | -0/+25 |
| | | | | "defaultObjectCategory" | ||||
* | s4:ldap_schema.py - Move generated attributes check | Matthias Dieter Wallnöfer | 2010-01-05 | 1 | -15/+15 |
| | | | | Make more clear that they're created before the "schemaUpdateNow". | ||||
* | Fix the merged build. Probably not strictly correct but allows us to "make ↵ | Jeremy Allison | 2010-01-04 | 1 | -1/+1 |
| | | | | | | test". Jeremy. | ||||
* | ldb: Fix the standalone ldb build. | Jelmer Vernooij | 2010-01-02 | 1 | -14/+14 |
| | |||||
* | s4-ldb: fixed valgrind error: ares can be freed by callback | Andrew Tridgell | 2010-01-02 | 1 | -4/+1 |
| | |||||
* | s4-ldaptest: need to use MessageElement for modify messages | Andrew Tridgell | 2010-01-02 | 1 | -2/+4 |
| | | | | Without MessageElement() the flags are not set, which is invalid | ||||
* | s4-ldb: show an error string, as well as error message | Andrew Tridgell | 2010-01-02 | 1 | -3/+4 |
| | | | | | This makes it easier to track down error mismatches from the test suite | ||||
* | s4-ldbtest: fixed message element in modify | Andrew Tridgell | 2010-01-02 | 1 | -1/+2 |
| | | | | a flags value of zero is not valid | ||||
* | s4-ldb: allow modules to override error return values | Andrew Tridgell | 2010-01-02 | 1 | -2/+4 |
| | | | | | | The samldb module overrides the error code for some returns when handling primaryGroupID. We need to take the error from the async callback to allow this to work reliably | ||||
* | s4-ldbmodify: show the error code as well as error string | Andrew Tridgell | 2010-01-02 | 1 | -1/+2 |
| | |||||
* | s4-ldb: declate ldb_val_to_time() | Andrew Tridgell | 2010-01-02 | 1 | -0/+6 |
| | |||||
* | s4-ldb: use safe length limited conversions for int64 and time | Andrew Tridgell | 2010-01-02 | 1 | -13/+48 |
| | |||||
* | s4-ldb: added ldb_val_to_time() | Andrew Tridgell | 2010-01-02 | 1 | -0/+27 |
| | | | | | | This is intended as a replacement for ldb_string_to_time() for ldb_val inputs. This ensures it is length limited and includes additional validity checks | ||||
* | s4-ldb: show the error code as well as errstr | Andrew Tridgell | 2010-01-02 | 1 | -2/+3 |
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: added ldb_module_get_ops() | Andrew Tridgell | 2010-01-02 | 2 | -0/+6 |
| | | | | | | This is needed to support DSDB_FLAG_OWN_MODULE Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: use the RELAX control to disable single value checking on replace | Andrew Tridgell | 2010-01-02 | 3 | -5/+16 |
| | | | | | | | | | | When using w2k3 linked attributes we are allowed to have multiple values on a single valued attribute. This happens when the other values are deleted. Setting the RELAX control tell the ldb-tdb backend to not check for this on replace, which means the caller has to check for single valued violations. | ||||
* | pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid(). | Jelmer Vernooij | 2009-12-31 | 2 | -10/+10 |
| | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | s4:ldb Fix declaration in the middle of the code | Simo Sorce | 2009-12-23 | 1 | -2/+4 |
| | |||||
* | s4: Fix the build | Simo Sorce | 2009-12-23 | 1 | -0/+1 |
| | |||||
* | s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodify | Matthieu Patou | 2009-12-23 | 4 | -1/+90 |
| | |||||
* | s4: make ldbadd/ldbmodify/ldbdelete really use the --controls switch | Matthieu Patou | 2009-12-23 | 6 | -9/+230 |
| | |||||
* | Samba4 and LDB requires talloc 2.0.1 | Andrew Bartlett | 2009-12-22 | 1 | -1/+1 |
| | | | | reported by ewoud@kohlvanwijngaarden.nl | ||||
* | provision/pyldb: Avoid linking in static python ldb module. | Jelmer Vernooij | 2009-12-21 | 2 | -2/+3 |
| | |||||
* | s4-tort: Tests for "msDS-IntId" attribute implemented | Kamen Mazdrashki | 2009-12-21 | 1 | -2/+281 |
| | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | s4-tort: Move Schema tests from ldap.py into separate module | Kamen Mazdrashki | 2009-12-21 | 2 | -133/+221 |
| | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | Added oid for AS_SYSTEM control, used to bypass access checks for system ↵ | Nadezhda Ivanova | 2009-12-18 | 1 | -0/+6 |
| | | | | operations. | ||||
* | s4-ldb: fixed a valgrind error in ldbtest | Andrew Tridgell | 2009-12-18 | 1 | -0/+2 |
| | | | | | | we were using msg->dn after the ldb it contained had been freed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-dsdb: declare ldb_dn_update_components() | Andrew Tridgell | 2009-12-18 | 1 | -0/+1 |
| | |||||
* | s4-dsdb: added ldb_dn_update_components() | Andrew Tridgell | 2009-12-18 | 1 | -0/+23 |
| | | | | | | | | This is used to udpate just the DN components of a ldb_dn, leaving the other extended fields alone. It is needed to prevent linked attribute updates from removing other extended components. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: canonicalise the message on ldb_add | Andrew Tridgell | 2009-12-18 | 1 | -0/+9 |
| | | | | | | | | | This canonicalise avoids a problem with an add that has multiple elements with the same el->name. That is allowed by MS servers, and by ldb, but it breaks things like the tdb backend and the repl_meta_data RPMD handling. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-dsdb: Add a test for adding, deleting, and appending a posixAccount ↵ | Brendan Powers | 2009-12-18 | 1 | -0/+30 |
| | | | | | | objectClass to a user Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | Fixed incorrect checking of PRINCIPAL_SELF permissions. | Nadezhda Ivanova | 2009-12-17 | 1 | -2/+41 |
| | | | | | | If an ace has the PRINCIPAL_SELF as trustee, this sid has to be replaced with the onjectSid of the object being checked. PRINCIPAL_SELF is the way to grant rights to an account over itself. | ||||
* | s4-ldb: show the OID of any unhandled critical controls | Andrew Tridgell | 2009-12-16 | 1 | -4/+9 |
| | | | | | | | It isn't very useful just saying that a control is not supported, without saying which one is the problem Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: fixed a transaction error on prepare_commit | Andrew Tridgell | 2009-12-16 | 1 | -2/+2 |
| | | | | | | | when a prepare commit fails, we need to give a cancel to all modules, not a commit! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-ldb: added --show-deactivated-link command line option | Andrew Tridgell | 2009-12-16 | 1 | -1/+8 |
| | | | | this adds the SHOW_DEACTIVATED_LINK control | ||||
* | Removed ldb_modify_ctrl from ldb, implemented as a static in ldap_backend. | Nadezhda Ivanova | 2009-12-15 | 2 | -31/+4 |
| |