From c66dfe4df5dcd239e7e446abf4bcf5ca8a8bc1ed Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Feb 2011 14:31:30 +0100 Subject: s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Feb 16 15:20:14 CET 2011 on sn-devel-104 --- source3/include/proto.h | 3 --- source3/include/smbldap.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index 3a964c3c52..07852527a8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3886,9 +3886,6 @@ NTSTATUS make_pdb_method( struct pdb_methods **methods ) ; /* The following definitions come from passdb/pdb_ldap.c */ -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/include/smbldap.h b/source3/include/smbldap.h index 14fe76faa3..2c69d5ef8a 100644 --- a/source3/include/smbldap.h +++ b/source3/include/smbldap.h @@ -238,7 +238,7 @@ void talloc_autofree_ldapmsg(TALLOC_CTX *mem_ctx, LDAPMessage *result); void talloc_autofree_ldapmod(TALLOC_CTX *mem_ctx, LDAPMod **mod); char *smbldap_talloc_dn(TALLOC_CTX *mem_ctx, LDAP *ld, LDAPMessage *entry); - +LDAP *priv2ld(struct ldapsam_privates *priv); /* The following definitions come from lib/smbldap.c */ -- cgit