libcli/auth: move netlogon_creds_CredentialState out of libcli.
authorGünther Deschner <gd@samba.org>
Wed, 26 Aug 2009 13:08:32 +0000 (15:08 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 27 Aug 2009 13:55:18 +0000 (15:55 +0200)
Guenther

libcli/auth/credentials.h
libcli/auth/libcli_auth.h

index b84b902fa0b60ebfff9eb506cf664df733b7d46c..7175211fbaa1546f7fa568d7af54b2989d8c71d0 100644 (file)
 
 #include "librpc/gen_ndr/netlogon.h"
 
-struct netlogon_creds_CredentialState {
-       uint32_t negotiate_flags;
-       uint8_t session_key[16];
-       uint32_t sequence;
-       struct netr_Credential seed;
-       struct netr_Credential client;
-       struct netr_Credential server;
-       uint16_t secure_channel_type;
-       const char *computer_name;
-       const char *account_name;
-       struct dom_sid *sid;
-};
-
 /* The 7 here seems to be required to get Win2k not to downgrade us
    to NT4.  Actually, anything other than 1ff would seem to do... */
 #define NETLOGON_NEG_AUTH2_FLAGS 0x000701ff
index be43007d850d43c13d7c5cf47b1d1a0f70c51232..388694a63d69d8bc0f0fba5fd5fea91d33d43a32 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "librpc/gen_ndr/netlogon.h"
 #include "librpc/gen_ndr/wkssvc.h"
+#include "librpc/gen_ndr/schannel.h"
 #include "libcli/auth/credentials.h"
 #include "libcli/auth/ntlm_check.h"
 #include "libcli/auth/proto.h"