From: Günther Deschner Date: Wed, 26 Aug 2009 13:08:32 +0000 (+0200) Subject: libcli/auth: move netlogon_creds_CredentialState out of libcli. X-Git-Tag: tevent-0.9.8~161 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=699266920b23fd9ea6079d8ae8e4682bb5141f0d libcli/auth: move netlogon_creds_CredentialState out of libcli. Guenther --- diff --git a/libcli/auth/credentials.h b/libcli/auth/credentials.h index b84b902fa0b..7175211fbaa 100644 --- a/libcli/auth/credentials.h +++ b/libcli/auth/credentials.h @@ -21,19 +21,6 @@ #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 diff --git a/libcli/auth/libcli_auth.h b/libcli/auth/libcli_auth.h index be43007d850..388694a63d6 100644 --- a/libcli/auth/libcli_auth.h +++ b/libcli/auth/libcli_auth.h @@ -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"