summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-16 14:31:30 +0100
committerGünther Deschner <gd@samba.org>2011-02-16 15:20:14 +0100
commitc66dfe4df5dcd239e7e446abf4bcf5ca8a8bc1ed (patch)
treed30689514edcd51f45f93cbf0ed982ed601dfa5d /source3/include
parentb03a171c13e4ecb2758a4cead777bbf24a49b63a (diff)
downloadsamba-c66dfe4df5dcd239e7e446abf4bcf5ca8a8bc1ed.tar.gz
samba-c66dfe4df5dcd239e7e446abf4bcf5ca8a8bc1ed.tar.bz2
samba-c66dfe4df5dcd239e7e446abf4bcf5ca8a8bc1ed.zip
s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds).
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 16 15:20:14 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
-rw-r--r--source3/include/smbldap.h2
2 files changed, 1 insertions, 4 deletions
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 */