libcli/auth Make gd's NDR NTLMSSP parsers helpers common
authorAndrew Bartlett <abartlet@samba.org>
Tue, 22 Dec 2009 07:20:02 +0000 (18:20 +1100)
committerStefan Metzmacher <metze@samba.org>
Tue, 22 Dec 2009 20:07:51 +0000 (21:07 +0100)
(but not built in Samba4 for now)

libcli/auth/ntlmssp_ndr.c [moved from source3/libsmb/ntlmssp_ndr.c with 99% similarity]
libcli/auth/ntlmssp_ndr.h [moved from source3/libsmb/ntlmssp_ndr.h with 100% similarity]
source3/Makefile.in
source3/libsmb/ntlmssp.c

similarity index 99%
rename from source3/libsmb/ntlmssp_ndr.c
rename to libcli/auth/ntlmssp_ndr.c
index 92cd677572944da3b4b299f58b2a23aaef3f7d9a..53a2378e205cd75759d6099e875bbd89086891d9 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "includes.h"
 #include "../librpc/gen_ndr/ndr_ntlmssp.h"
 
 #include "includes.h"
 #include "../librpc/gen_ndr/ndr_ntlmssp.h"
-#include "libsmb/ntlmssp_ndr.h"
+#include "../libcli/auth/ntlmssp_ndr.h"
 
 #define NTLMSSP_PULL_MESSAGE(type, blob, mem_ctx, ic, r) \
 do { \
 
 #define NTLMSSP_PULL_MESSAGE(type, blob, mem_ctx, ic, r) \
 do { \
index 59ffa24e277ffb06fe91a36e0996f2ac0739c1dc..ad1ce6ebc61cd21cf2057c474e79dfd98ac5733e 100644 (file)
@@ -482,7 +482,7 @@ LIBSMB_OBJ0 = \
               libsmb/ntlmssp.o \
               libsmb/ntlmssp_sign.o \
               $(LIBNDR_NTLMSSP_OBJ) \
               libsmb/ntlmssp.o \
               libsmb/ntlmssp_sign.o \
               $(LIBNDR_NTLMSSP_OBJ) \
-              libsmb/ntlmssp_ndr.o
+              ../libcli/auth/ntlmssp_ndr.o
 
 LIBSAMBA_OBJ = $(LIBSMB_OBJ0) \
               $(LIBSMB_ERR_OBJ)
 
 LIBSAMBA_OBJ = $(LIBSMB_OBJ0) \
               $(LIBSMB_ERR_OBJ)
index 60c1d49bb0d76560a84086bf8a47c924e5019e1d..84cba43063b2dd7404ee14a04402cb24a8d1f868 100644 (file)
@@ -24,7 +24,7 @@
 #include "includes.h"
 #include "../libcli/auth/libcli_auth.h"
 #include "../librpc/gen_ndr/ndr_ntlmssp.h"
 #include "includes.h"
 #include "../libcli/auth/libcli_auth.h"
 #include "../librpc/gen_ndr/ndr_ntlmssp.h"
-#include "libsmb/ntlmssp_ndr.h"
+#include "../libcli/auth/ntlmssp_ndr.h"
 
 static NTSTATUS ntlmssp_client_initial(struct ntlmssp_state *ntlmssp_state,
                                       DATA_BLOB reply, DATA_BLOB *next_request);
 
 static NTSTATUS ntlmssp_client_initial(struct ntlmssp_state *ntlmssp_state,
                                       DATA_BLOB reply, DATA_BLOB *next_request);