From c96fd895b9d45005560a7ffdedee567b60e7921e Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 15 Jul 2010 16:52:32 +0200 Subject: s3-passdb: make priv2ld() public MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- source3/include/proto.h | 1 + source3/passdb/pdb_ldap.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index a5d69bc214..5ce6bd6a9d 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 514db36eb8..a884b305ed 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; } -- cgit