[patch] Option to supress auto guest login in libsmbclient
Christopher R. Hertel
crh at ubiqx.mn.org
Sun Nov 28 04:52:36 GMT 2004
On Sun, Nov 28, 2004 at 04:29:23AM +0000, Nielsen wrote:
> Christopher R. Hertel wrote:
> >On Sat, Nov 27, 2004 at 05:55:14AM +0000, Nielsen wrote:
> >
> >>I'm working on the gnome-vfs smb module. One thing that gets in the way
> >>is when that when a user types an invalid password, libsmbclient tries
> >>to login as Guest. It appears to gnome-vfs and the user that the login
> >>worked, when in fact it didn't, and more often than not the user has the
> >>wrong access privileges.
> >
> >This behavior can occur on both the client and the server side. There's a
> >bit set in the reply packet that indicates whether the server has decided
> >to map a failed logon to guest. Samba has configuration options for this.
> >I don't know if Windows' behavior can be modified.
>
> Thanks for pointing this out. However if the server is setup in that
> manner then it is obviously what the administrator intended to occur.
No, not really... It's just a hold-over from older versions of Windows
server software.
> What is the concern in gnome-vfs is being able to tell if the last
> authentication failed or not.
...which is why it's useful to know whether or not libsmbclient reports
the status of the Action bit.
Chris -)-----
--
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the samba-technical
mailing list