From: Günther Deschner Date: Wed, 16 Feb 2011 13:31:30 +0000 (+0100) Subject: s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds). X-Git-Tag: tevent-0.9.11~586 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c66dfe4df5dcd239e7e446abf4bcf5ca8a8bc1ed;p=thirdparty%2Fsamba.git s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds). Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Feb 16 15:20:14 CET 2011 on sn-devel-104 --- diff --git a/source3/include/proto.h b/source3/include/proto.h index 3a964c3c52c..07852527a85 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 14fe76faa32..2c69d5ef8aa 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 */