r15416: Point out that this doesn't work, but for servers this old, I just
authorAndrew Bartlett <abartlet@samba.org>
Wed, 3 May 2006 14:59:55 +0000 (14:59 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:35 +0000 (14:05 -0500)
don't care...

Andrew Bartlett

source/libcli/smb_composite/sesssetup.c

index f2d1dcd87dcdcbc6f6ea80f03690eafa6a1ae071..1b7756a3f4927058d769795e92d466651ebc76c2 100644 (file)
@@ -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,