diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-10-10 17:15:11 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-10-10 23:09:06 +0200 |
commit | 938cb40290af72bdd887d964f46ccc00d80ab744 (patch) | |
tree | 86921dc70f4f69c784871571f416b90d68cfe9c6 /source4/lib/ldb-samba/ldb_wrap.h | |
parent | 93126b3315a70d1beaeaa64d05cdbfb167acbabe (diff) | |
download | samba-938cb40290af72bdd887d964f46ccc00d80ab744.tar.gz samba-938cb40290af72bdd887d964f46ccc00d80ab744.tar.bz2 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.h | 9 |
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 650f97d17d..66281fde4a 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_ */ |