summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/linked_attributes.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-18 20:56:04 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-02 08:16:50 +1100
commit312ef9df3cdb6461e051dff4f3fe3d4ae1601392 (patch)
treedaf8d42cd35c3fc559a605bbbbb9a3720ed83040 /source4/dsdb/samdb/ldb_modules/linked_attributes.c
parentb1db66a501e3b5e5df66e722ad849a821c667d5b (diff)
downloadsamba-312ef9df3cdb6461e051dff4f3fe3d4ae1601392.tar.gz
samba-312ef9df3cdb6461e051dff4f3fe3d4ae1601392.tar.bz2
samba-312ef9df3cdb6461e051dff4f3fe3d4ae1601392.zip
s4-dsdb: add REVEAL_INTERNALS in the search for linked_attributes
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/linked_attributes.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/linked_attributes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/linked_attributes.c b/source4/dsdb/samdb/ldb_modules/linked_attributes.c
index edcb2d8167..4113a58154 100644
--- a/source4/dsdb/samdb/ldb_modules/linked_attributes.c
+++ b/source4/dsdb/samdb/ldb_modules/linked_attributes.c
@@ -72,7 +72,8 @@ static int linked_attributes_fix_links(struct ldb_module *module,
ret = dsdb_module_search_dn(module, tmp_ctx, &res, dsdb_dn->dn,
attrs,
DSDB_SEARCH_SHOW_DELETED |
- DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT);
+ DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT |
+ DSDB_SEARCH_REVEAL_INTERNALS);
if (ret != LDB_SUCCESS) {
ldb_asprintf_errstring(ldb, "Linked attribute %s->%s between %s and %s - remote not found - %s",
el->name, target->lDAPDisplayName,