git.samba.org
/
idra
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
23b1d09
)
s4-dirsync: use dsdb_module_dn_by_guid() not dsdb_find_dn_by_guid() in modules
author
Andrew Tridgell
<tridge@samba.org>
Mon, 15 Aug 2011 05:59:23 +0000
(15:59 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 17 Aug 2011 23:26:59 +0000
(09:26 +1000)
this prevents us going to the top level of the module stack
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/dirsync.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/dirsync.c
b/source4/dsdb/samdb/ldb_modules/dirsync.c
index 7ed1ed3943d3dbf4e9a128d1c1e5ee680763e760..6a5703ab5f11d9442c081157d267434498d4ab32 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/dirsync.c
+++ b/
source4/dsdb/samdb/ldb_modules/dirsync.c
@@
-522,7
+522,7
@@
skip:
el->name, ldb_dn_get_linearized(copydn)));
return ldb_operr(ldb);
}
- ret = dsdb_
find_dn_by_guid(ldb, newmsg, &guid, &tdn
);
+ ret = dsdb_
module_dn_by_guid(dsc->module, newmsg, &guid, &tdn, req
);
if (ret == LDB_ERR_NO_SUCH_OBJECT) {
DEBUG(2, (" Search of guid %s returned 0 objects, skipping it !\n",
GUID_string(newmsg, &guid)));