diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-04-09 15:54:17 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-04-09 15:54:17 +0000 |
commit | 7238bf5f40e16360439e028fa7607a5a28e02965 (patch) | |
tree | 1816898133cbf06270a5a01afa61ae0dcacf7821 /source3/include | |
parent | f0121aa901a99374df7ac8f43dbd50efdc3e79dd (diff) | |
download | samba-7238bf5f40e16360439e028fa7607a5a28e02965.tar.gz samba-7238bf5f40e16360439e028fa7607a5a28e02965.tar.bz2 samba-7238bf5f40e16360439e028fa7607a5a28e02965.zip |
This is the netlogon schannel client code. Try a
rpcclient -S pdc -U% -c "samlogon user password"
and it should work with the schannel. Needs testing against platforms
different from NT4SP6.
Volker
(This used to be commit eaef0d8aeff1aa5a067679be3f17e08d7434e1e8)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/client.h | 6 | ||||
-rw-r--r-- | source3/include/smb.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 0ea793de68..d75effd7d0 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -132,6 +132,12 @@ struct cli_state { */ uint16 nt_pipe_fnum; /* Pipe handle. */ + + uint16 saved_netlogon_pipe_fnum; /* The "first" pipe to get + the session key for the + schannel. */ + struct netsec_auth_struct auth_info; + unsigned char sess_key[16]; /* Current session key. */ unsigned char ntlmssp_hash[258]; /* ntlmssp data. */ uint32 ntlmssp_cli_flgs; /* ntlmssp client flags */ diff --git a/source3/include/smb.h b/source3/include/smb.h index edd25fb44e..5baec705f5 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -187,6 +187,8 @@ typedef smb_ucs2_t wfstring[FSTRING_LEN]; #define PIPE_SPOOLSS "\\PIPE\\spoolss" #define PIPE_NETDFS "\\PIPE\\netdfs" +#define PIPE_NETLOGON_PLAIN "\\NETLOGON" + #define PI_LSARPC 0 #define PI_LSARPC_DS 1 #define PI_SAMR 2 |