diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_ldap.c | 2 |
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; } |