diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-04-25 15:08:52 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-04-25 15:08:52 +0100 |
commit | c4219fd8030494986c5fa418c46defb1a9c05c7e (patch) | |
tree | fe4d513e171fbfa89d9838052c4cee9a87ddaa6a /source4/libcli/smb_composite/smb_composite.h | |
parent | ee70e01e3e4d5f4501dea1b217ff29d978b94548 (diff) | |
download | samba-c4219fd8030494986c5fa418c46defb1a9c05c7e.tar.gz samba-c4219fd8030494986c5fa418c46defb1a9c05c7e.tar.bz2 samba-c4219fd8030494986c5fa418c46defb1a9c05c7e.zip |
Make the composite 'connect to server' code useful for security=server
The ability to short-circuit the connection code to only do a negprot
allows us to do the rest once we have the user's password. We return
the 8 byte challenge so we can pass it to the client.
Andrew Bartlett
(This used to be commit 40fe386b0374df8b390b995c332d048dbbc08f1b)
Diffstat (limited to 'source4/libcli/smb_composite/smb_composite.h')
-rw-r--r-- | source4/libcli/smb_composite/smb_composite.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/libcli/smb_composite/smb_composite.h b/source4/libcli/smb_composite/smb_composite.h index e7e131869c..80746f2732 100644 --- a/source4/libcli/smb_composite/smb_composite.h +++ b/source4/libcli/smb_composite/smb_composite.h @@ -83,8 +83,8 @@ struct smb_composite_savefile { - socket establishment - session request - negprot - - session setup - - tree connect + - session setup (if credentials are not NULL) + - tree connect (if service is not NULL) */ struct smb_composite_connect { struct { @@ -101,6 +101,7 @@ struct smb_composite_connect { struct { struct smbcli_tree *tree; bool anonymous_fallback_done; + DATA_BLOB negprot_challenge; } out; }; |