s3-passdb: make priv2ld() public
authorSumit Bose <sbose@redhat.com>
Thu, 15 Jul 2010 14:52:32 +0000 (16:52 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 16 Feb 2011 10:34:45 +0000 (11:34 +0100)
Signed-off-by: Günther Deschner <gd@samba.org>
source3/include/proto.h
source3/passdb/pdb_ldap.c

index a5d69bc214690fc3f228606ba554cd30f8ee2305..5ce6bd6a9d9aac51e1cdb15744a13b782b968132 100644 (file)
@@ -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);
index 514db36eb83e9244311534a214518df060e2a68a..a884b305ed78dde2123d16a5f798c474623851f6 100644 (file)
@@ -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;
 }