Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2010-01-02 | s4-dsdb: added parse functions for DRS linked attribute blobs | Andrew Tridgell | 1 | -0/+69 | |
2010-01-02 | s4-drs: set flag to indicate that we do support linked attributes | Andrew Tridgell | 1 | -4/+1 | |
2010-01-02 | s4-ldb: show the error code as well as errstr | Andrew Tridgell | 1 | -2/+3 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-dsdb: fixed valgrind error in replmd modify | Andrew Tridgell | 1 | -1/+1 | |
We are using the values from a search result, so we need to steal them onto the msg before we free the search results Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: don't try to remove backlinks directly | Andrew Tridgell | 1 | -1/+2 | |
backlinks need to be removed as a side effect of removing the forward link Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: isRecycled only exists in FL W2K8-R2 | Andrew Tridgell | 1 | -0/+13 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: use DSDB_FLAG_OWN_MODULE | Andrew Tridgell | 1 | -3/+3 | |
We need DRS driven replication changes to update replPropertyMetaData, so it needs to call into the repl_meta_data module logic Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: update comment to refect only forward link in this fn | Andrew Tridgell | 1 | -2/+4 | |
This function only update forward links Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: fixed typo for uSNCreated | Andrew Tridgell | 1 | -1/+1 | |
This broke DRS replication from samba to windows Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: use dsdb_module_guid_by_dn() | Andrew Tridgell | 1 | -1/+1 | |
We should not be going to the top of the module stack | |||||
2010-01-02 | s4-drs: cope better with NULL GUIDS from DRS | Andrew Tridgell | 1 | -11/+25 | |
It is valid to get a NULL GUID over DRS for a deleted forward link. We need to match by DN if possible when seeing if we should update an existing link. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: give an error message in repl_meta_data if we don't get a partition ↵ | Andrew Tridgell | 1 | -0/+1 | |
control | |||||
2010-01-02 | s4-drs: treat a zero GUID as not present in replmd_add_fix_la | Andrew Tridgell | 1 | -3/+6 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: update highwatermark after successfully encoding the object | Andrew Tridgell | 1 | -8/+8 | |
2010-01-02 | s4-drs: send all linked attributes at the end of a replication cycle | Andrew Tridgell | 1 | -3/+7 | |
This ensures that a link is not seen before the object it points to | |||||
2010-01-02 | s4-drs: use the extended linearized form for DRS replication | Andrew Tridgell | 1 | -5/+4 | |
We were sending zero GUIDs. Not good! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: implemented sorting functions based on replication flags | Andrew Tridgell | 1 | -2/+43 | |
I think we probably have more work to do on the sort order, but this brings us a bit closer. | |||||
2010-01-02 | s4-drs: we are doing the sorting for getncchanges in the app code now | Andrew Tridgell | 2 | -22/+0 | |
the sorting is quite delicate, and easier to get right in the getncchanges code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-drs: give a reason when an AddEntry commit fails | Andrew Tridgell | 1 | -1/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-schema: don't fill in the extended DN with a zero GUID | Andrew Tridgell | 1 | -11/+12 | |
sometimes windows sends us a zero GUID in a DRS DN. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | sd-schema: order DRS classes on the wire in reverse order | Andrew Tridgell | 1 | -1/+4 | |
windows sends objectclasses in DRS in the opposite order to what LDAP uses | |||||
2010-01-02 | s4-dsdb: added DSDB_FLAG_OWN_MODULE | Andrew Tridgell | 2 | -3/+50 | |
This allows you to call dsdb_module_*() functions while including the current module in the module stack to be used Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-ldb: added ldb_module_get_ops() | Andrew Tridgell | 2 | -0/+6 | |
This is needed to support DSDB_FLAG_OWN_MODULE Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-dsdb: use a common method for finding a link pair | Andrew Tridgell | 1 | -1/+1 | |
Use ^1 everywhere, to ensure it works for both forward and backward links | |||||
2010-01-02 | s4-drs: fixed the UDV return in getncchanges | Andrew Tridgell | 1 | -5/+17 | |
We should overwrite an existing entry if found | |||||
2010-01-02 | s4-drs: some useful debugging options for getncchanges | Andrew Tridgell | 1 | -11/+42 | |
Added two debugging parametric options drs:max object sync = drs:extra filter = | |||||
2010-01-02 | s4-dsdb: fill in the correct version number of links that come over DRS | Andrew Tridgell | 1 | -26/+27 | |
2010-01-02 | s4-dsdb: move checking for single valued links to samba modules | Andrew Tridgell | 2 | -3/+15 | |
This uses the RELAX control and checking of single valued attributes in ldb modules to avoid problems with multi-valued links where all values but one are deleted | |||||
2010-01-02 | s4-dsdb: added dsdb_check_single_valued_link() | Andrew Tridgell | 2 | -0/+31 | |
This is used in conjunction with the RELAX control, to check for violations of single value rules for linked attributes | |||||
2010-01-02 | s4-drs: handle mixtures of old and new style links in getncchanges | Andrew Tridgell | 1 | -0/+17 | |
We need to send non-upgraded links using the old format | |||||
2010-01-02 | s4-dsdb: added dsdb_dn_is_upgraded_link_val() | Andrew Tridgell | 1 | -0/+9 | |
This is used to detect if a link has been stored in the w2k3 extended format | |||||
2010-01-02 | s4-ldb: use the RELAX control to disable single value checking on replace | Andrew Tridgell | 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. | |||||
2010-01-02 | s4-dsdb: auto-upgrade w2k formatted linked attributes when modified | Andrew Tridgell | 1 | -0/+63 | |
When any value of a w2k formatted linked attribute is modified, upgrade the links. | |||||
2010-01-02 | s4-drs: added linked attribute replication to getncchanges | Andrew Tridgell | 1 | -15/+203 | |
2010-01-02 | s4-dsdb: ask for REVEAL_INTERNALS in getncchanges | Andrew Tridgell | 1 | -0/+5 | |
We need this for the linked attribute meta data | |||||
2010-01-02 | s4-dsdb: minor cleanup in DRS replicated objects code | Andrew Tridgell | 1 | -5/+6 | |
2010-01-02 | s4-dsdb: store full meta data from DRS for linked attributes | Andrew Tridgell | 1 | -150/+239 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-dsdb: add REVEAL_INTERNALS in the search for linked_attributes | Andrew Tridgell | 1 | -1/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-02 | s4-dsdb: allow the component name to be specified in dsdb_get_extended_dn_guid() | Andrew Tridgell | 2 | -4/+4 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> |