s3-winbindd: no need to globally include ldap headers in winbindd.
authorGünther Deschner <gd@samba.org>
Wed, 16 Nov 2011 21:53:24 +0000 (22:53 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 17 Nov 2011 01:11:46 +0000 (02:11 +0100)
Guenther

source3/winbindd/winbindd.h
source3/winbindd/winbindd_msrpc.c

index 3f1c7f558e2eb9e41bd61834410c1c0fee137922..33c7bbe5c684f886fd87ecb061387115c0df93e0 100644 (file)
@@ -28,7 +28,6 @@
 #include "librpc/gen_ndr/wbint.h"
 
 #include "talloc_dict.h"
-#include "smb_ldap.h"
 
 #include "../lib/util/tevent_ntstatus.h"
 
index 094b025053d7a2b1f3b31c384dfe06b9c6e152cc..27eac6b41de4ab35f87251be25207a6c7079b9db 100644 (file)
@@ -769,7 +769,7 @@ static NTSTATUS msrpc_lookup_groupmem(struct winbindd_domain *domain,
 
 #ifdef HAVE_LDAP
 
-#include <ldap.h>
+#include "smb_ldap.h"
 
 static int get_ldap_seq(const char *server, struct sockaddr_storage *ss, int port, uint32 *seq)
 {