summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-18 17:43:11 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-19 16:25:59 +0100
commit84a140f18722518eb0f40737085dd3b3958a3a02 (patch)
treed225e366376bc4ce60768d4d18c6217992fcac31
parentc600e8ef42c3cb71c03330782f96bfdf71870e0f (diff)
downloadsamba-84a140f18722518eb0f40737085dd3b3958a3a02.tar.gz
samba-84a140f18722518eb0f40737085dd3b3958a3a02.tar.bz2
samba-84a140f18722518eb0f40737085dd3b3958a3a02.zip
move source4/libcli/cldap => libcli/cldap
metze
-rw-r--r--libcli/cldap/cldap.c (renamed from source4/libcli/cldap/cldap.c)12
-rw-r--r--libcli/cldap/cldap.h (renamed from source4/libcli/cldap/cldap.h)0
-rw-r--r--libcli/cldap/config.mk7
-rw-r--r--source4/headermap.txt2
-rw-r--r--source4/libcli/config.mk7
5 files changed, 15 insertions, 13 deletions
diff --git a/source4/libcli/cldap/cldap.c b/libcli/cldap/cldap.c
index 0f2175b42d..561ae8037c 100644
--- a/source4/libcli/cldap/cldap.c
+++ b/libcli/cldap/cldap.c
@@ -35,15 +35,17 @@
#include "includes.h"
#include <tevent.h>
#include "../lib/util/dlinklist.h"
-#include "libcli/ldap/ldap.h"
-#include "libcli/ldap/ldap_ndr.h"
-#include "libcli/cldap/cldap.h"
+#include "../libcli/ldap/ldap_message.h"
+#include "../libcli/ldap/ldap_ndr.h"
+#include "../libcli/cldap/cldap.h"
#include "../lib/tsocket/tsocket.h"
-#include "libcli/security/security.h"
-#include "librpc/gen_ndr/ndr_nbt.h"
+#include "../libcli/security/dom_sid.h"
+#include "../librpc/gen_ndr/ndr_nbt.h"
#include "../lib/util/asn1.h"
#include "../lib/util/tevent_ntstatus.h"
+#undef strcasecmp
+
/*
context structure for operations on cldap packets
*/
diff --git a/source4/libcli/cldap/cldap.h b/libcli/cldap/cldap.h
index 111fa2cfc4..111fa2cfc4 100644
--- a/source4/libcli/cldap/cldap.h
+++ b/libcli/cldap/cldap.h
diff --git a/libcli/cldap/config.mk b/libcli/cldap/config.mk
new file mode 100644
index 0000000000..a4a75b4909
--- /dev/null
+++ b/libcli/cldap/config.mk
@@ -0,0 +1,7 @@
+[SUBSYSTEM::LIBCLI_CLDAP]
+PUBLIC_DEPENDENCIES = LIBCLI_LDAP
+PRIVATE_DEPENDENCIES = LIBTSOCKET LIBSAMBA-UTIL UTIL_TEVENT LIBLDB LIBCLI_NETLOGON
+
+LIBCLI_CLDAP_OBJ_FILES = ../libcli/cldap/cldap.o
+# PUBLIC_HEADERS += ../libcli/cldap/cldap.h
+
diff --git a/source4/headermap.txt b/source4/headermap.txt
index d0d0a575d8..280d60beb2 100644
--- a/source4/headermap.txt
+++ b/source4/headermap.txt
@@ -25,7 +25,7 @@ lib/registry/registry.h: registry.h
libcli/util/werror.h: core/werror.h
libcli/util/doserr.h: core/doserr.h
libcli/util/ntstatus.h: core/ntstatus.h
-libcli/cldap/cldap.h: cldap.h
+../libcli/cldap/cldap.h: cldap.h
auth/credentials/credentials.h: credentials.h
auth/credentials/credentials_krb5.h: credentials/krb5.h
rpc_server/dcerpc_server.h: dcerpc_server.h
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index 1b87530af8..5b50bdfcbe 100644
--- a/source4/libcli/config.mk
+++ b/source4/libcli/config.mk
@@ -96,13 +96,6 @@ LIBCLI_DGRAM_OBJ_FILES = $(addprefix $(libclisrcdir)/dgram/, \
netlogon.o \
browse.o)
-[SUBSYSTEM::LIBCLI_CLDAP]
-PUBLIC_DEPENDENCIES = LIBCLI_LDAP
-PRIVATE_DEPENDENCIES = LIBTSOCKET LIBSAMBA-UTIL UTIL_TEVENT LIBLDB LIBCLI_NETLOGON
-
-LIBCLI_CLDAP_OBJ_FILES = $(libclisrcdir)/cldap/cldap.o
-# PUBLIC_HEADERS += $(libclisrcdir)/cldap/cldap.h
-
[SUBSYSTEM::LIBCLI_WREPL]
PUBLIC_DEPENDENCIES = NDR_WINSREPL samba_socket LIBEVENTS LIBPACKET