diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-04-17 13:49:28 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-04-17 16:16:51 +0200 |
commit | 1334ed723edc5d746f355a836b3bc52ba85cda4b (patch) | |
tree | 46dac8d24e5a6abedfe4f04dbe1b2cbb25c5a0e4 /source3 | |
parent | 3207c7f9655c236278d96a0837354d1e58993974 (diff) | |
download | samba-1334ed723edc5d746f355a836b3bc52ba85cda4b.tar.gz samba-1334ed723edc5d746f355a836b3bc52ba85cda4b.tar.bz2 samba-1334ed723edc5d746f355a836b3bc52ba85cda4b.zip |
s3:libsmb/cliconnect: make use of ntlmssp_is_anonymous()
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/cliconnect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 6e057a5fef..b9634eb402 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -1711,7 +1711,7 @@ static void cli_session_setup_ntlmssp_done(struct tevent_req *subreq) if (cli_state_protocol(state->cli) >= PROTOCOL_SMB2_02) { struct smbXcli_session *session = state->cli->smb2.session; - if (state->ntlmssp_state->nt_hash == NULL) { + if (ntlmssp_is_anonymous(state->ntlmssp_state)) { /* * Windows server does not set the * SMB2_SESSION_FLAG_IS_GUEST nor |