diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-02 16:32:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:11 -0500 |
commit | 26af14c39b88b0e7eb53657b89be65d865804688 (patch) | |
tree | ac73da63e8b053514ff8ecf465027d02227feea1 /source4/ldap_server/ldap_server.c | |
parent | 0efc7293181dc06d79c0edc21677f900597fc760 (diff) | |
download | samba-26af14c39b88b0e7eb53657b89be65d865804688.tar.gz samba-26af14c39b88b0e7eb53657b89be65d865804688.tar.xz samba-26af14c39b88b0e7eb53657b89be65d865804688.zip |
r13786: [merge] Add registration functions for LDB modules
Applications that use LDB modules will now have to run ldb_global_init()
before they can use LDB.
The next step will be adding support for loading LDB modules from .so
files. This will also allow us to use one LDB without difference between the
standalone and the Samba-specific build
(This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92)
Diffstat (limited to 'source4/ldap_server/ldap_server.c')
-rw-r--r-- | source4/ldap_server/ldap_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c index a9a4b06645..b919894d69 100644 --- a/source4/ldap_server/ldap_server.c +++ b/source4/ldap_server/ldap_server.c @@ -545,6 +545,8 @@ static void ldapsrv_task_init(struct task_server *task) struct ldapsrv_service *ldap_service; NTSTATUS status; + ldb_global_init(); + ldap_service = talloc_zero(task, struct ldapsrv_service); if (ldap_service == NULL) goto failed; |