diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-08-09 20:51:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:57:48 -0500 |
commit | 9c41274ace0a1dd88b113ce2bf84b33b0c528efa (patch) | |
tree | 3029ae61eacacbd79fb3bb53226d820542f7258f /source4/libcli/raw | |
parent | 0f32036afef72cbf0050ddd057ed986f9ef35976 (diff) | |
download | samba-9c41274ace0a1dd88b113ce2bf84b33b0c528efa.tar.gz samba-9c41274ace0a1dd88b113ce2bf84b33b0c528efa.tar.bz2 samba-9c41274ace0a1dd88b113ce2bf84b33b0c528efa.zip |
r1676: - improved the handling of username/password in locktest and gentest
- use lp_maxprotocol() in the libcli/raw/ negotiate code, so we obey
the smb.conf "max protocol" option
- better handling of -M option in masktest
(This used to be commit 8685a584c92ab73a35b29a8c719f1ec207562837)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r-- | source4/libcli/raw/rawnegotiate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/rawnegotiate.c b/source4/libcli/raw/rawnegotiate.c index 9b00aa6121..dab7b38939 100644 --- a/source4/libcli/raw/rawnegotiate.c +++ b/source4/libcli/raw/rawnegotiate.c @@ -86,7 +86,7 @@ NTSTATUS smb_raw_negotiate(struct smbcli_transport *transport) struct smbcli_request *req; int protocol; - req = smb_negprot_send(transport, PROTOCOL_NT1); + req = smb_negprot_send(transport, lp_maxprotocol()); if (!req) { return NT_STATUS_UNSUCCESSFUL; } |