diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-06-30 15:30:13 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-06-30 15:30:13 +1000 |
commit | 4e58c7881e2730c2c6c2917d22b475fb289668ac (patch) | |
tree | 7013574600bb56745a9f77a211460c1256cd5541 /source4/lib | |
parent | 49e5b83aa93176ed1c942d2bb55258be816fe983 (diff) | |
download | samba-4e58c7881e2730c2c6c2917d22b475fb289668ac.tar.gz samba-4e58c7881e2730c2c6c2917d22b475fb289668ac.tar.bz2 samba-4e58c7881e2730c2c6c2917d22b475fb289668ac.zip |
s4:ldb Allow rootdse module to build without ldb_private.h
It seems quite reasonable to allow modules to re-initialise the set of
cached DNs on the ldb context.
Andrew Bartlett
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/include/ldb_module.h | 2 | ||||
-rw-r--r-- | source4/lib/ldb/include/ldb_private.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/include/ldb_module.h b/source4/lib/ldb/include/ldb_module.h index d9950d6649..cc24d8a6c0 100644 --- a/source4/lib/ldb/include/ldb_module.h +++ b/source4/lib/ldb/include/ldb_module.h @@ -166,4 +166,6 @@ int ldb_module_done(struct ldb_request *req, int ldb_mod_register_control(struct ldb_module *module, const char *oid); +void ldb_set_default_dns(struct ldb_context *ldb); + #endif diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h index 6946ca2182..3cda9a3e33 100644 --- a/source4/lib/ldb/include/ldb_private.h +++ b/source4/lib/ldb/include/ldb_private.h @@ -117,7 +117,6 @@ struct ldb_context { int ldb_connect_backend(struct ldb_context *ldb, const char *url, const char *options[], struct ldb_module **backend_module); -void ldb_set_default_dns(struct ldb_context *ldb); extern const struct ldb_module_ops ldb_objectclass_module_ops; |