Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-01-08 | s4-samldb: use RID Set to allocate user/group RIDs | Andrew Tridgell | 1 | -559/+104 | |
This is the first step towards DRS-friendly RID allocation. We now get the next rid from the RID Set object Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-provision: the DC object itself needs a fixed objectSID | Andrew Tridgell | 2 | -1/+3 | |
We can't allocate a objectSID until we have rIDSetReferences, but that is in the DC object, so we have to force the objectSID of the DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-dsdb: added samdb_rid_set_dn() | Andrew Tridgell | 1 | -0/+18 | |
This returns the DN of our RID Set object Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-provision: added an initial RID Set | Andrew Tridgell | 2 | -2/+12 | |
We will allocate RIDs from this set Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-ldb: added nice ldif display of 64 bit ranges for RIDs | Andrew Tridgell | 2 | -0/+119 | |
2010-01-08 | s4-dsdb: added samdb_reference_dn() | Andrew Tridgell | 1 | -0/+62 | |
This returns a 'reference' DN, which is a link to a DN, from the specified object. It is then used by samdb_server_reference_dn() which returns the serverReference DN, and samdb_rid_manager_dn() which returns the rIDManagerReference DN. | |||||
2010-01-08 | linked_attributes: Fix missing dependency on util. | Jelmer Vernooij | 1 | -1/+1 | |
2010-01-07 | s4 torture: Add RAW-OPEN-NTCREATEDIR to test error checking for open ↵ | Tim Prouty | 1 | -0/+198 | |
directories as files | |||||
2010-01-06 | s4/torture: fix small bug in lock test | Steven Danneman | 1 | -0/+1 | |
Cleanup path should unlock, not cancel existing locked range. | |||||
2010-01-06 | s4/torture: add more lock cancellation tests | Steven Danneman | 1 | -2/+95 | |
* Test the SMB1 behavior when multiple lock ranges are requested, pend, and then are cancelled. The entire LockingAndX request fails. | |||||
2010-01-06 | s4-smbtorture: add test_ChangeID to RPC-SPOOLSS. | Günther Deschner | 1 | -0/+179 | |
This tests ChangeID consistency between spoolss_GetPrinterData, spoolss_GetPrinterDataEx and spoolss_GetPrinter (level 0). Guenther | |||||
2010-01-06 | s4-smbtorture: add test_SetPrinter to RPC-SPOOLSS. | Günther Deschner | 1 | -0/+26 | |
Guenther | |||||
2010-01-06 | s4-smbtorture: refactor test_GetPrinter in RPC-SPOOLSS. | Günther Deschner | 1 | -28/+50 | |
Guenther | |||||
2010-01-06 | s4: Fix result check for getaddrinfo() | Kamen Mazdrashki | 1 | -6/+11 | |
I think this completes commit 50feca550eed7828198b7c0fc5f0e5ddc863313d. Now result should be handled correctly both for systems that support EAI_NODATA but returns EAI_NONAME (as my Ubuntu 9.x) and systems that doesn't support EAI_NODATA at all. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-01-05 | s4:SAMLDB LDB module - Fix trailing whitespaces | Matthias Dieter Wallnöfer | 1 | -17/+17 | |
2010-01-05 | s4:SAMLDB LDB module - Rework to allow checks for wrong ↵ | Matthias Dieter Wallnöfer | 1 | -50/+96 | |
"defaultObjectCategory" attributes This allows a stricter check for "defaultObjectCategory" attributes which is performed when the "relax" control isn't specified. Additional note: As the added comment points out this isn't complete. And I personally think that moving this at some point to the "objectclass" module is a better idea to make this fully work (since there we have direct access to the schema). If someone has a good idea how to do this please inform me. Anyway, the SAMLDB module does require some restructure since at the moment it's very overloaded and therefore a bit a mess. In the meantime I started to work on a new approach to realise it in a better way. | |||||
2010-01-05 | s4:schema_load.c - Typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-01-05 | s4:ldap_schema.py - add an additional check for validity of ↵ | Matthias Dieter Wallnöfer | 1 | -0/+25 | |
"defaultObjectCategory" | |||||
2010-01-05 | s4:ldap_schema.py - Move generated attributes check | Matthias Dieter Wallnöfer | 1 | -15/+15 | |
Make more clear that they're created before the "schemaUpdateNow". | |||||
2010-01-04 | Fix the merged build. Probably not strictly correct but allows us to "make ↵ | Jeremy Allison | 1 | -1/+1 | |
test". Jeremy. | |||||
2010-01-04 | s4:dsdb/repl: convert dreplsrv_out_drsuapi_send/recv to tevent_req | Stefan Metzmacher | 2 | -99/+127 | |
metze | |||||
2010-01-04 | s4: Happy New Year 2010 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-01-02 | s4-dsdb: force REVISION_ADS for new and updated ACLs in dsdb | Andrew Tridgell | 1 | -0/+8 | |
w2k8-r2 gives a "schema mismatch" error if the revision is not set to REVISION_ADS and you replicate the ntsecuritydescriptor using DRS. Nadya, please check this! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: don't give an error on repsTo delete if add is also specified | Andrew Tridgell | 1 | -1/+3 | |
w2k8-r2 in dcpromo asks for a delete+add during its initial join. | |||||
2010-01-02 | s4-sddl: DRS replication needs REVISION_ADS for SDs | Andrew Tridgell | 1 | -1/+1 | |
DRS replication with w2k8-r2 fails with a schema mismatch error if we set the revision to NT4 | |||||
2010-01-02 | ldb: Fix the standalone ldb build. | Jelmer Vernooij | 1 | -14/+14 | |
2010-01-02 | s4-dsdb: switched to using RMD_FLAGS instead of DELETED in extended DNs | Andrew Tridgell | 5 | -40/+83 | |
This allows for more flags in the future | |||||
2010-01-02 | s4-kcc: added a preiodic task to remove deleted objects | Andrew Tridgell | 4 | -4/+104 | |
we check for deleted objects in each partition every 10 minutes, using onelevel searches | |||||
2010-01-02 | s4-dsdb: fixed several memory leaks | Andrew Tridgell | 1 | -5/+18 | |
need to be careful with those temporary contexts | |||||
2010-01-02 | s4-dsdb: fixed samdb_create_foreign_security_principal() to use the ↵ | Andrew Tridgell | 1 | -18/+20 | |
wellknown GUID This also fixes a memory leak | |||||
2010-01-02 | s4-ldb: fixed valgrind error: ares can be freed by callback | Andrew Tridgell | 1 | -4/+1 | |
2010-01-02 | s4-dsdb: make sure 'whenChanged' is set on modify | Andrew Tridgell | 1 | -1/+4 | |
We also should preserve (and then replace) whenChanged on delete | |||||
2010-01-02 | s4-dsdb: added dsdb_tombstone_lifetime() | Andrew Tridgell | 2 | -0/+90 | |
2010-01-02 | s4-dsdb: allow system to remove deleted objects | Andrew Tridgell | 1 | -0/+19 | |
This will be used by a periodic job to remove tombstoned objects | |||||
2010-01-02 | s4-ldaptest: need to use MessageElement for modify messages | Andrew Tridgell | 1 | -2/+4 | |
Without MessageElement() the flags are not set, which is invalid | |||||
2010-01-02 | s4-ldb: show an error string, as well as error message | Andrew Tridgell | 1 | -3/+4 | |
This makes it easier to track down error mismatches from the test suite | |||||
2010-01-02 | s4-drs: make sure the DNs we put in the db have a extended GUID | Andrew Tridgell | 1 | -7/+16 | |
2010-01-02 | s4-dsdb: added dsdb_set_extended_dn_guid() | Andrew Tridgell | 1 | -0/+19 | |
2010-01-02 | s4-ldbtest: fixed message element in modify | Andrew Tridgell | 1 | -1/+2 | |
a flags value of zero is not valid | |||||
2010-01-02 | s4-ldb: allow modules to override error return values | Andrew Tridgell | 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 | |||||
2010-01-02 | s4-ldbmodify: show the error code as well as error string | Andrew Tridgell | 1 | -1/+2 | |
2010-01-02 | s4-ldb: declate ldb_val_to_time() | Andrew Tridgell | 1 | -0/+6 | |
2010-01-02 | s4-ldb: use safe length limited conversions for int64 and time | Andrew Tridgell | 1 | -13/+48 | |
2010-01-02 | s4-dsdb: use safe length limiting in string->integer conversion | Andrew Tridgell | 1 | -11/+35 | |
The ldap.py test suite could trigger a read past the end of the struct ldb_val buffer | |||||
2010-01-02 | s4-dsdb: use ldb_val_to_time() instead of ldb_string_to_time() | Andrew Tridgell | 2 | -4/+8 | |
2010-01-02 | s4-ldb: added ldb_val_to_time() | Andrew Tridgell | 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 | |||||
2010-01-02 | s4-drs: sort linked attributes | Andrew Tridgell | 1 | -0/+73 | |
See MS-DRSR section 4.1.10.5.17 for a description of the sorting comparison function | |||||
2010-01-02 | s4-drs: re-resolve the DN in linked attribute processing | Andrew Tridgell | 1 | -0/+10 | |
w2k8-r2 sometimes sends the DN with an old target | |||||
2010-01-02 | s4-drs: use dsdb_module_rename() | Andrew Tridgell | 1 | -4/+3 | |
Use the new dsdb_module_rename() for DRS rename handling, instead of ldb_rename(). This stops us going to the top of the module stack on a rename. | |||||
2010-01-02 | s4-drs: use dsdb linked attribute parse functions | Andrew Tridgell | 2 | -42/+5 | |
This makes the code considerably more readable |