From 7d71747897b9b7c0119796ea874b464d73b00de8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 16 Nov 2011 18:54:02 +0100 Subject: [PATCH] s3-smbldap: remove duplicate prototype. Guenther --- source3/include/smbldap.h | 6 ------ source3/passdb/pdb_ldap_util.c | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/source3/include/smbldap.h b/source3/include/smbldap.h index d8f12bc373c..d1eb81e2168 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 4965b9f1eaa..4c86201fb0a 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" /********************************************************************** -- 2.11.4.GIT