summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-07-15 16:52:32 +0200
committerGünther Deschner <gd@samba.org>2011-02-16 11:34:45 +0100
commitc96fd895b9d45005560a7ffdedee567b60e7921e (patch)
tree706fdeec94f20bffce3809061fcf5c14950ee822
parentb4dd65d3f99022bd5fe7e320d7e36da5432592bb (diff)
downloadsamba-c96fd895b9d45005560a7ffdedee567b60e7921e.tar.gz
samba-c96fd895b9d45005560a7ffdedee567b60e7921e.tar.bz2
samba-c96fd895b9d45005560a7ffdedee567b60e7921e.zip
s3-passdb: make priv2ld() public
Signed-off-by: Günther Deschner <gd@samba.org>
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/passdb/pdb_ldap.c2
2 files changed, 2 insertions, 1 deletions
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;
}