diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-02-14 17:11:36 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-02-14 17:11:36 +1100 |
commit | b640f475be9b0f83e7812a5c7756344c5891cba3 (patch) | |
tree | eb7c955f31379ae243f89004ff872054d80b764d /source4/libcli/smb2/connect.c | |
parent | 4a04a5e620a4666fc123d04cb96ef391de72c469 (diff) | |
download | samba-b640f475be9b0f83e7812a5c7756344c5891cba3.tar.gz samba-b640f475be9b0f83e7812a5c7756344c5891cba3.tar.bz2 samba-b640f475be9b0f83e7812a5c7756344c5891cba3.zip |
updated SMB2 code for getinfo according to WSPP docs
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
new docs
(This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
Diffstat (limited to 'source4/libcli/smb2/connect.c')
-rw-r--r-- | source4/libcli/smb2/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c index 535df11d9d..85ddafc031 100644 --- a/source4/libcli/smb2/connect.c +++ b/source4/libcli/smb2/connect.c @@ -133,7 +133,7 @@ static void continue_socket(struct composite_context *creq) state->negprot.in.security_mode = 0; state->negprot.in.capabilities = 0; unix_to_nt_time(&state->negprot.in.start_time, time(NULL)); - dialects[0] = 0; + dialects[0] = SMB2_DIALECT_REVISION; state->negprot.in.dialects = dialects; req = smb2_negprot_send(transport, &state->negprot); |