summaryrefslogtreecommitdiff
path: root/source4/libcli/smb_composite
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-05-03 14:59:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:35 -0500
commit5d689a5de2d6ddfbab1753ff219d9d55cb009cac (patch)
tree982a054c8325dff7e9150a7a64a8746cfb1838c0 /source4/libcli/smb_composite
parented752c800425ffd3db39a770ddaee3ad2d73c494 (diff)
downloadsamba-5d689a5de2d6ddfbab1753ff219d9d55cb009cac.tar.gz
samba-5d689a5de2d6ddfbab1753ff219d9d55cb009cac.tar.bz2
samba-5d689a5de2d6ddfbab1753ff219d9d55cb009cac.zip
r15416: Point out that this doesn't work, but for servers this old, I just
don't care... Andrew Bartlett (This used to be commit 8abe7ba619a9499229937435b66005e278bcbf38)
Diffstat (limited to 'source4/libcli/smb_composite')
-rw-r--r--source4/libcli/smb_composite/sesssetup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/smb_composite/sesssetup.c b/source4/libcli/smb_composite/sesssetup.c
index f2d1dcd87d..1b7756a3f4 100644
--- a/source4/libcli/smb_composite/sesssetup.c
+++ b/source4/libcli/smb_composite/sesssetup.c
@@ -77,6 +77,8 @@ static void request_handler(struct smbcli_request *req)
switch (state->setup.old.level) {
case RAW_SESSSETUP_OLD:
state->io->out.vuid = state->setup.old.out.vuid;
+ /* This doesn't work, as this only happens on old
+ * protocols, where this comparison won't match. */
if (NT_STATUS_EQUAL(c->status, NT_STATUS_LOGON_FAILURE)) {
if (cli_credentials_wrong_password(state->io->in.credentials)) {
nt_status = session_setup_old(c, session,