summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb-samba/ldb_wrap.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-10 17:15:11 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-10 23:09:06 +0200
commit938cb40290af72bdd887d964f46ccc00d80ab744 (patch)
tree86921dc70f4f69c784871571f416b90d68cfe9c6 /source4/lib/ldb-samba/ldb_wrap.h
parent93126b3315a70d1beaeaa64d05cdbfb167acbabe (diff)
downloadsamba-938cb40290af72bdd887d964f46ccc00d80ab744.tar.gz
samba-938cb40290af72bdd887d964f46ccc00d80ab744.tar.xz
samba-938cb40290af72bdd887d964f46ccc00d80ab744.zip
ldb-samba: Add convenience function for doing a Samba-style LDB init.
Diffstat (limited to 'source4/lib/ldb-samba/ldb_wrap.h')
-rw-r--r--source4/lib/ldb-samba/ldb_wrap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/ldb-samba/ldb_wrap.h b/source4/lib/ldb-samba/ldb_wrap.h
index 650f97d17d8..66281fde4af 100644
--- a/source4/lib/ldb-samba/ldb_wrap.h
+++ b/source4/lib/ldb-samba/ldb_wrap.h
@@ -40,4 +40,13 @@ struct ldb_context *ldb_wrap_connect(TALLOC_CTX *mem_ctx,
unsigned int flags);
void ldb_wrap_fork_hook(void);
+
+static ldb_context *samba_ldb_init(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct loadparm_context *lp_ctx,
+ struct auth_session_info *session_info,
+ struct cli_credentials *credentials
+ );
+
+
#endif /* _LDB_WRAP_H_ */