summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-16 22:53:24 +0100
committerGünther Deschner <gd@samba.org>2011-11-17 02:11:46 +0100
commit21691b38bcbdd885e33b1555a19bac0903952396 (patch)
tree07684dd6a76f22b0bed80a2e2626161af2153b56 /source3
parent7de6e6fbc78e149200903b054206b56425e44562 (diff)
downloadsamba-21691b38bcbdd885e33b1555a19bac0903952396.tar.gz
samba-21691b38bcbdd885e33b1555a19bac0903952396.tar.bz2
samba-21691b38bcbdd885e33b1555a19bac0903952396.zip
s3-winbindd: no need to globally include ldap headers in winbindd.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd.h1
-rw-r--r--source3/winbindd/winbindd_msrpc.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index 3f1c7f558e..33c7bbe5c6 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -28,7 +28,6 @@
#include "librpc/gen_ndr/wbint.h"
#include "talloc_dict.h"
-#include "smb_ldap.h"
#include "../lib/util/tevent_ntstatus.h"
diff --git a/source3/winbindd/winbindd_msrpc.c b/source3/winbindd/winbindd_msrpc.c
index 094b025053..27eac6b41d 100644
--- a/source3/winbindd/winbindd_msrpc.c
+++ b/source3/winbindd/winbindd_msrpc.c
@@ -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)
{