Colin Brooks
2000-Apr-26 23:08 UTC
After upgrade to 2.0.6, Win98 users can't connect to Samba shares
Hello everyone - I just upgraded from Samba 1.9.16p9 to 2.0.6 last week. Samba is running on my Digital UNIX 4.0E (aka Tru64 aka OSF1) workstation, and I have various Win'95, Win'98, and NT 4.0 (SP4 & SP6) computers accessing the Samba shares. One share is read-only, and one is read/write to specific users (I've included my smb.conf file below). If a users accesses the read-only or read/write share from an NT 4.0 machine, then Samba accepts the connection. If the same user tries to connect from a Win'98 machine, he or she gets the message "The password is incorrect. Try again." The user name and password are the same on the Digital UNIX, Win'98, and NT 4.0 machines. Both the Win'98 and the NT 4.0 machines have the plain password registry patch applied. Looking at the log files, the old version of Samba used to record this when connecting from Win'98 & Win'95 to the read-only connection: 04/06/00 10:29:40 inspiron (169.228.93.215) connect to service rootdir as user guest (uid=8123,gid=15) (pid 4521) 04/06/00 17:23:05 inspiron (169.228.93.215) closed connection to service rootdir Now, with 2.0.6, the log file for this particular Win'98 computer records this instead: [2000/04/26 15:38:08, 1] smbd/reply.c:(909) Rejecting user 'adina': authentication failed But as I said earlier, if user "adina" tries to connect from an NT 4.0 machine, the connection works fine. One other difference about the new version of Samba: The read-only connection now requires a password & the log file records the user's name, whereas the old version recorded the connection as "guest" & didn't require a password. I'm stumped as to what's going on here. Clearly (to me) the difference is a result of the upgrade. Why is the new version of Samba acting differently, and how do I fix it so the Windows 98 & 95 network shares work again? My smb.conf file: ************************* [global] printing = bsd printcap name = /etc/printcap load printers = yes guest account = guest workgroup = hrec ; CHANGES MADE BY ME... wins support = yes wins proxy = yes preserve case = yes short preserve case = yes hosts allow = 169.228.93. max log size = 25000 [printers] comment = All Printers browseable = no printable = yes public = no writable = no create mode = 0700 [rootdir] comment = Root directory on hopland path = / read only = yes public = yes [sharegis] comment = Share for GIS work with write access to hopland path = / valid users = cbrooks rixanne urbdig coey public = no writable = yes printable = no create mask = 0775 ************************** Any and all help appreciated! Sincerely, Colin **************************************************** Colin Brooks GIS Analyst Integrated Hardwood Range Management Program (IHRMP) University of California, Berkeley Hopland Research & Extension Center (HREC) 4070 University Rd. Hopland, CA 95449 Primary #'s (at Hopland) - TEL:(707)744-1270 FAX:(707)744-1040 Secondary # (at Berkeley) - TEL: (510)643-1136 E-mail: cbrooks@nature.berkeley.edu IHRMP Homepage - http://danr.ucop.edu/ihrmp HREC homepage - http://danrrec.ucdavis.edu/hopland/home_page.html GIS homepage - http://www.pacific.net/~cbrooks/gis1.shtml ****************************************************