diff options
author | Simo Sorce <idra@samba.org> | 2006-08-25 12:59:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:46 -0500 |
commit | 88b04ab6e65137079b2dad76d1cea07e7ea9ab80 (patch) | |
tree | 7357d0b7a7b602cb5f6fd508bffbe47592d2d270 /source4/lib/ldb/include | |
parent | fd4e294c41a568c9f7d196361bb19fdeab3f4fde (diff) | |
download | samba-88b04ab6e65137079b2dad76d1cea07e7ea9ab80.tar.gz samba-88b04ab6e65137079b2dad76d1cea07e7ea9ab80.tar.bz2 samba-88b04ab6e65137079b2dad76d1cea07e7ea9ab80.zip |
r17830: Set the default_basedn (hey, it comes from the "default" naming contex :-)
once at connection time, after modules have been loaded.
Introduce a function to retrieve the value where needed.
(This used to be commit 0caf6a44e03393c645030a9288e7dfd31e97c98b)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 415eacbf61..124cba9b66 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -824,8 +824,9 @@ int ldb_connect(struct ldb_context *ldb, const char *url, unsigned int flags, co /* return an automatic baseDN from the defaultNamingContext of the rootDSE + This value have been set in an opaque pointer at connection time */ -const struct ldb_dn *ldb_auto_basedn(struct ldb_context *ldb); +const struct ldb_dn *ldb_get_default_basedn(struct ldb_context *ldb); /** Search the database |