diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-12-01 04:13:43 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-12-01 04:13:43 +0000 |
commit | b4b0177fdb5f1704a7347552e48b2ab647a03d14 (patch) | |
tree | 685933c2327ddf0ec5323cfa206c8a73bab0a1c7 /source4/librpc | |
parent | 5b46116923fb7c2945db128736b7f8113ea1a160 (diff) | |
download | samba-b4b0177fdb5f1704a7347552e48b2ab647a03d14.tar.gz samba-b4b0177fdb5f1704a7347552e48b2ab647a03d14.tar.bz2 samba-b4b0177fdb5f1704a7347552e48b2ab647a03d14.zip |
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)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/idl/netlogon.idl | 14 |
1 files changed, 5 insertions, 9 deletions
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 { |