s3-smbldap: remove duplicate prototype.
authorGünther Deschner <gd@samba.org>
Wed, 16 Nov 2011 17:54:02 +0000 (18:54 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 17 Nov 2011 01:11:46 +0000 (02:11 +0100)
Guenther

source3/include/smbldap.h
source3/passdb/pdb_ldap_util.c

index d8f12bc373ce011d9c068e94a186b495cc382f52..d1eb81e2168d000916a235989b984a484aff1db3 100644 (file)
@@ -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
index 4965b9f1eaa1307297ab0961270a73282610015d..4c86201fb0a300ac8fd94fd51785a59315c81229 100644 (file)
@@ -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"
 
 /**********************************************************************