| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
The ldap.py test suite could trigger a read past the end of the struct
ldb_val buffer
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
See MS-DRSR section 4.1.10.5.17 for a description of the sorting
comparison function
|
|
|
|
| |
w2k8-r2 sometimes sends the DN with an old target
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This makes the code considerably more readable
|
| |
|
| |
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
backlinks need to be removed as a side effect of removing the forward
link
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This function only update forward links
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
| |
This broke DRS replication from samba to windows
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
We should not be going to the top of the module stack
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
control
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
| |
|
|
|
|
| |
This ensures that a link is not seen before the object it points to
|
|
|
|
|
|
| |
We were sending zero GUIDs. Not good!
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
| |
I think we probably have more work to do on the sort order, but this
brings us a bit closer.
|
|
|
|
|
|
|
| |
the sorting is quite delicate, and easier to get right in the
getncchanges code
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
| |
sometimes windows sends us a zero GUID in a DRS DN.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
| |
windows sends objectclasses in DRS in the opposite order to what LDAP
uses
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This is needed to support DSDB_FLAG_OWN_MODULE
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
| |
Use ^1 everywhere, to ensure it works for both forward and backward
links
|
|
|
|
| |
We should overwrite an existing entry if found
|
|
|
|
|
|
|
| |
Added two debugging parametric options
drs:max object sync =
drs:extra filter =
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This is used in conjunction with the RELAX control, to check for
violations of single value rules for linked attributes
|
|
|
|
| |
We need to send non-upgraded links using the old format
|
|
|
|
|
| |
This is used to detect if a link has been stored in the w2k3 extended
format
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
When any value of a w2k formatted linked attribute is modified,
upgrade the links.
|
| |
|
|
|
|
| |
We need this for the linked attribute meta data
|
| |
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
|
|
|
|
| |
We need a separate RMD_LOCAL_USN to allow us to tell what attributes
need to be sent in a getncchanges request. Thanks to Metze for
pointing this out.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
| |
|
|
|
|
|
|
|
|
| |
The linked_attributes module only has to deal with renames now, as
other linked attribute updates happen in repl_meta_data. This allows
it to be much simpler.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
This makes updating the links a bit easier
|