SAMBA Guest login - user error or config change?

From: Elizabeth Schwartz (betsy.schwartz@gmail.com)
Date: Wed Sep 15 2004 - 10:12:50 EDT


This sounds like a small thing but it is causing a large number of
helpdesk calls. I'm being pressured to "fix" something and I'm not
sure if it's broken.

After a recent upgrade (details below) large numbers of users are
having trouble mapping SAMBA shares of their home directories on the
"terra" server.

Terra is authenticating using NIS passwords.
Users all have the appropriate registry bit set for plaintext passwords
Usernames are the same in unix and the windows domain.

Here's what I see. User tries to map the drive, fails for whatever
initial reason, and get a popup box:

   Username: terra\Guest
   Password: ***********

Server logs an error: check_ntlm_password: Authentication for user
[Guest] -> [Guest] FAILED with error NT_STATUS_NO_SUCH_USER

If the user replaces "terra\Guest" with just the unix username, it works fine.

The problem: everyone insists it used to work "the other way" and it
*should* work the other way. The Windows 2003 servers work this way.

So: *should* it work the other way? What changed? Can I change it
back? Or do I just need to re-educate all my users? (and take the hit
for making undocumented changes to a production server....)

Have checked SAMBA docs, O'Reilly Samba book, google, faq's and
samba.org mailing list with no joy.
Thanks for a clue bonk,
Betsy.

Old box: Sun 220R running Solaris 7, samba 2.2.2 and Veritas VM/FS 3.4.
New box: Sun 280R running Solaris 9, samba 3.0.2a and Veritas VM/FS 3.5
(same Clariion LUN, moved to new box, veritas deport/import-ed.)

Config file:
# Global parameters
[global]
       workgroup = DESIGN
       interfaces = eri0 lo0
       bind interfaces only = Yes
       password level = 8
       log level = 2
       syslog = 7
       log file = /var/adm/smblog
       deadtime = 5
       local master = No
       wins server = 128.103.170.97
       hosts allow = 128.103.170. 128.103.171. 128.103.172. 128.103.173. 128.10
3.174. 128.103.175. 128.103.141. 10.1.1. 10.1.67.
       printing = bsd
       print command = echo
       nis homedir = yes
encrypt passwords = no
posix locking = no
max log size = 524288
[test]
       path = /tmp
       browsable = yes
       valid users = @everyone
       guest ok = Yes
[homes]
       browsable = no
       writable = yes
       create mask = 0775
       directory mask = 0775
oplocks = no
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:26 EDT