summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
/**********************************************************************