From: Sumit Bose Date: Thu, 15 Jul 2010 14:52:32 +0000 (+0200) Subject: s3-passdb: make priv2ld() public X-Git-Tag: tevent-0.9.11~635 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c96fd895b9d45005560a7ffdedee567b60e7921e;p=thirdparty%2Fsamba.git s3-passdb: make priv2ld() public Signed-off-by: Günther Deschner --- diff --git a/source3/include/proto.h b/source3/include/proto.h index a5d69bc2146..5ce6bd6a9d9 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3886,6 +3886,7 @@ NTSTATUS make_pdb_method( struct pdb_methods **methods ) ; struct ldapsam_privates; +LDAP *priv2ld(struct ldapsam_privates *priv); const char** get_userattr_list( TALLOC_CTX *mem_ctx, int schema_ver ); NTSTATUS pdb_init_ldapsam_compat(struct pdb_methods **pdb_method, const char *location); NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location); diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 514db36eb83..a884b305ed7 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -87,7 +87,7 @@ Simple helper function to make stuff better readable **********************************************************************/ -static LDAP *priv2ld(struct ldapsam_privates *priv) +LDAP *priv2ld(struct ldapsam_privates *priv) { return priv->smbldap_state->ldap_struct; }