diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-10 23:45:23 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-10 23:45:23 +0200 |
commit | e2f3e10b1a47e195e9b329ac244be93c2fcdf0a0 (patch) | |
tree | 88549fc4df55870e274155a2074acd688339ee9f /source4/dsdb/samdb/ldb_modules | |
parent | 33c4b85058f21ab9865bc7cf1b49b7bd38e0275d (diff) | |
download | samba-e2f3e10b1a47e195e9b329ac244be93c2fcdf0a0.tar.gz samba-e2f3e10b1a47e195e9b329ac244be93c2fcdf0a0.tar.bz2 samba-e2f3e10b1a47e195e9b329ac244be93c2fcdf0a0.zip |
ldb-samba: Rename samdb_relative_path to ldb_relative_path, as it's not samdb-specific.
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/partition_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition_init.c b/source4/dsdb/samdb/ldb_modules/partition_init.c index 0ab8bada13..775e566d51 100644 --- a/source4/dsdb/samdb/ldb_modules/partition_init.c +++ b/source4/dsdb/samdb/ldb_modules/partition_init.c @@ -31,6 +31,7 @@ #include "dsdb/samdb/ldb_modules/partition.h" #include "lib/util/tsort.h" +#include "lib/ldb-samba/ldb_wrap.h" static int partition_sort_compare(const void *v1, const void *v2) { @@ -218,7 +219,7 @@ static int new_partition_from_dn(struct ldb_context *ldb, struct partition_priva (*partition)->backend_url = data->ldapBackend; } else { /* the backend LDB is the DN (base64 encoded if not 'plain') followed by .ldb */ - backend_url = samdb_relative_path(ldb, + backend_url = ldb_relative_path(ldb, *partition, filename); if (!backend_url) { |