summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-16 18:54:02 +0100
committerGünther Deschner <gd@samba.org>2011-11-17 02:11:46 +0100
commit7d71747897b9b7c0119796ea874b464d73b00de8 (patch)
tree3abf1efa78935fd48eed8c3e765f382b44c1da7f /source3
parent2de232ae2a187941f8114ff0948ca50082007761 (diff)
downloadsamba-7d71747897b9b7c0119796ea874b464d73b00de8.tar.gz
samba-7d71747897b9b7c0119796ea874b464d73b00de8.tar.bz2
samba-7d71747897b9b7c0119796ea874b464d73b00de8.zip
s3-smbldap: remove duplicate prototype.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smbldap.h6
-rw-r--r--source3/passdb/pdb_ldap_util.c1
2 files changed, 1 insertions, 6 deletions
diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h
index d8f12bc373..d1eb81e216 100644
--- a/source3/include/smbldap.h
+++ b/source3/include/smbldap.h
@@ -163,12 +163,6 @@ void talloc_autofree_ldapmod(TALLOC_CTX *mem_ctx, LDAPMod **mod);
char *smbldap_talloc_dn(TALLOC_CTX *mem_ctx, LDAP *ld,
LDAPMessage *entry);
-/* The following definitions come from lib/smbldap_util.c */
-
-NTSTATUS smbldap_search_domain_info(struct smbldap_state *ldap_state,
- LDAPMessage ** result, const char *domain_name,
- bool try_add);
-
#endif /* HAVE_LDAP */
#define LDAP_DEFAULT_TIMEOUT 15
diff --git a/source3/passdb/pdb_ldap_util.c b/source3/passdb/pdb_ldap_util.c
index 4965b9f1ea..4c86201fb0 100644
--- a/source3/passdb/pdb_ldap_util.c
+++ b/source3/passdb/pdb_ldap_util.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "smbldap.h"
#include "passdb.h"
+#include "passdb/pdb_ldap_util.h"
#include "passdb/pdb_ldap_schema.h"
/**********************************************************************