summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-04-09 15:47:06 +0000
committerVolker Lendecke <vlendec@samba.org>2003-04-09 15:47:06 +0000
commit803e23f403bdb38d2523d73fd12083da486bca2f (patch)
tree6f370271d9ede3d25e466816fa7772fb465e1876 /source3/include
parent83479a9dc9affb36ea14e701ee8847195c6b8f7f (diff)
downloadsamba-803e23f403bdb38d2523d73fd12083da486bca2f.tar.gz
samba-803e23f403bdb38d2523d73fd12083da486bca2f.tar.bz2
samba-803e23f403bdb38d2523d73fd12083da486bca2f.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 platforms different from NT4SP6. Volker (This used to be commit ecd0ee4d248e750168597ccf79c389513bb0f740)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/client.h6
-rw-r--r--source3/include/smb.h2
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 3bb6bf9237..78690cd524 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -188,6 +188,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