From b4b0177fdb5f1704a7347552e48b2ab647a03d14 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Dec 2003 04:13:43 +0000 Subject: added netr_ServerAuthenticate() and test code I would like the netlogon test suite to eventually do a new domain join using a fake workstation name, then remove itself afterwards, but for now I'm assuming we are already joined to the domain when the testsuite runs. This means you need to use the Samba3 net command to do a join before running RPC-NETLOGON (This used to be commit 8c7a9446a0892a4f7722cced5019667f7a9fafdd) --- source4/librpc/idl/netlogon.idl | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index e0f38ac112..7bdb4ae6ed 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -92,13 +92,13 @@ interface netlogon NT_OWF_PASSWORD ntpassword; } INTERACTIVE_INFO; - typedef struct { - uint8 chl[8]; - } netr_Challenge; + typedef [flag(NDR_PAHEX)] struct { + uint8 data[8]; + } netr_Credential; typedef struct { LOGON_IDENTITY_INFO logon_info; - netr_Challenge chal; + netr_Credential challenge; unistr ntchallengeresponse; unistr lmchallengeresponse; } NETWORK_INFO; @@ -115,13 +115,9 @@ interface netlogon [case(3)] SERVICE_INFO *sinfo; } netr_LogonLevel; - typedef [flag(NDR_PAHEX)] struct { - uint8 cred[8]; - } netr_Credential; - typedef struct { netr_Credential cred; - uint32 timestamp; + time_t timestamp; } netr_Authenticator; typedef struct { -- cgit