Re: [linux-cifs-client] Re: [PATCH] CIFS: make sec=none force ananonymous mount

From: Steve French (smfltc)
Date: Sat May 05 2007 - 16:47:55 EST


Shirish S Pargaonkar wrote:



When a session setup request is sent as an anonymous user (NUL user), should/could there be
password associated with that?
Right now, sec=none option, will prompt you for a password.
And when we add code to retry session setup as anonymous user if the first session setup request
fails, should that retry request be sent with the password or without password?

When smbfs sends requests as an anonymous user, it does not send a password along with it.

Regards,

Shirish

We should allow a password to be specified (presumably it is not common for a server to have a password associated with a null user),
but probably not prompt (similar to "guest" - except for the case of guest, we start with the username of uid of current process, and
only if it fails with access denied do we try "user=" (or equivalently sec=none))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/