s4-dsdb: add REVEAL_INTERNALS in the search for linked_attributes
authorAndrew Tridgell <tridge@samba.org>
Fri, 18 Dec 2009 09:56:04 +0000 (20:56 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 1 Jan 2010 21:16:50 +0000 (08:16 +1100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/dsdb/samdb/ldb_modules/linked_attributes.c

index edcb2d8167f46fc5272ea546ded53773c08f76c8..4113a581549b87895ce6aa4ce0cfb5c30a45662e 100644 (file)
@@ -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,