[Pkg-samba-maint] DO NOT REPLY [Bug 4640] cifs: -o guest yields root login
samba-bugs at samba.org
samba-bugs at samba.org
Fri Jul 20 21:22:19 UTC 2007
https://bugzilla.samba.org/show_bug.cgi?id=4640
------- Comment #1 from sfrench at us.ibm.com 2007-07-20 16:22 CST -------
The man page (for both smbfs and cifs) specifies:
guest
Don't prompt for a password
I agree that it would make sense for cifs to retry on authentication failure
with anonymous user (and also I agree that user mount should try to
authenticate with the user not user, although the issue of default uid/gid when
mounted to Windows ie bug 4780 needs to be fixed).
My initial reaction is that the man page behavior must be followed (no prompt),
and that we should attempt to authenticate with the "default" username (either
root if we are mounted as root or the user's uid if we are doing a user mount)
but that we should allow automatic retry (null user authentication, ie
"username=" ie an empty string) if root can not authenticate due to access
denied on session setup and perhaps one or two other errors (like a TConX
access denied failure). If username "root" can authenticate as "guest"
successfully, why retry as anonymous (null user)?
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Pkg-samba-maint
mailing list