Greetings, I am trying to get samba3 to work well with W95. The windows 95 box can see the samba server, but cannot authenticate (claims wrong password) to get to any shares. I know the smbpasswd is good as I can authenticate and get to the shares using the same account and password on a W2000 machine. I suspect I am doing something wrong in the [global] section of the samba server. Would one of you kind folks please take a look at my global section and tell me what I am missing that's causing samba to reject the W95 box accounts' attempts to authenticate? Do I need a "min protocol Win95" or something? Thanks much in advance. #======================= Global Settings ====================================[global] netbios name = shodan workgroup = CITADEL server string = File Server socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = yes preferred master = yes os level = 1 wins support = yes dns proxy = yes #security options hosts allow = 192.168.13. 127. hosts deny = ALL interfaces = eth* lo bind interfaces only = yes security = user encrypt passwords = yes lanman auth = no smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* guest account = guest map to guest = bad user #log options log file = /var/log/samba/log.%m log level = 3 max log size = 50 Thanks, John H. Nyhuis University of Washington Desk: (206)-732-6148 cabal@u.washington.edu
Yes you were right the lanman auth =no line explicitly disable any Win3.11/95/98/Me client to connect to any non-guest share. I would also recomend a little bit greater os level, especialy because you use your samba box as a wins server. Cheers Geza J. Nyhuis ?rta:> Greetings, > > I am trying to get samba3 to work well with W95. The windows 95 >box can see the samba server, but cannot authenticate (claims wrong >password) to get to any shares. I know the smbpasswd is good as I can >authenticate and get to the shares using the same account and password on >a W2000 machine. I suspect I am doing something wrong in the [global] >section of the samba server. > Would one of you kind folks please take a look at my global >section and tell me what I am missing that's causing samba to reject the >W95 box accounts' attempts to authenticate? Do I need a "min protocol >Win95" or something? > Thanks much in advance. > >#======================= Global Settings ====================================>[global] > netbios name = shodan > workgroup = CITADEL > server string = File Server > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > local master = yes > preferred master = yes > os level = 1 > wins support = yes > dns proxy = yes > >#security options > hosts allow = 192.168.13. 127. > hosts deny = ALL > interfaces = eth* lo > bind interfaces only = yes > security = user > encrypt passwords = yes > lanman auth = no > smb passwd file = /etc/samba/smbpasswd > unix password sync = Yes > passwd program = /usr/bin/passwd %u >passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* > guest account = guest > map to guest = bad user > >#log options > log file = /var/log/samba/log.%m > log level = 3 > max log size = 50 > > > > Thanks, > >John H. Nyhuis >University of Washington >Desk: (206)-732-6148 >cabal@u.washington.edu > >
Hello, W95 by default uses plain text password instead of W98 and newest which uses encrypted passwords by default. Samba allows to use only one of these at a time as configured by encrypt passwords directive. So all your Samba client machines must use same type of passwords. Two ways to do: - set W2K to use plain text passwords (wrong way) - set W95 to use ecrypted password (normal solution)>From O'Relly Using Samba book:In Samba distribution you can find /doc/Registry with platform-specific .reg files, that changes your Windows registry settings to use plain passwords. You can use that to see which reistry entry in W95 is used for password mode and change that by hand to preffered value. Hope this helps. TP ----- Original Message ----- From: "J. Nyhuis" <cabal@u.washington.edu> To: <samba@lists.samba.org> Sent: Sunday, June 27, 2004 10:49 PM Subject: [Samba] Samba3 Win95 interoperability> Greetings, > > I am trying to get samba3 to work well with W95. The windows 95 > box can see the samba server, but cannot authenticate (claims wrong > password) to get to any shares. I know the smbpasswd is good as I can > authenticate and get to the shares using the same account and password on > a W2000 machine. I suspect I am doing something wrong in the [global] > section of the samba server. > Would one of you kind folks please take a look at my global > section and tell me what I am missing that's causing samba to reject the > W95 box accounts' attempts to authenticate? Do I need a "min protocol > Win95" or something? > Thanks much in advance. > > #======================= Global Settings====================================> [global]> netbios name = shodan > workgroup = CITADEL > server string = File Server > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > local master = yes > preferred master = yes > os level = 1 > wins support = yes > dns proxy = yes > > #security options > hosts allow = 192.168.13. 127. > hosts deny = ALL > interfaces = eth* lo > bind interfaces only = yes > security = user > encrypt passwords = yes > lanman auth = no > smb passwd file = /etc/samba/smbpasswd > unix password sync = Yes > passwd program = /usr/bin/passwd %u > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n*passwd:*all*authentication*tokens*updated*successfully*> guest account = guest > map to guest = bad user > > #log options > log file = /var/log/samba/log.%m > log level = 3 > max log size = 50 > > > > Thanks, > > John H. Nyhuis > University of Washington > Desk: (206)-732-6148 > cabal@u.washington.edu > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- > Tato sprava bola prehladana na vyskyt virusov a nebezpecneho obsahuantivirovym systemom na serveri spolocnosti Jaga Group s.r.o. a zda sa byt cista. Info: postmaster@jaga.sk> > >-- Tato sprava bola prehladana na vyskyt virusov a nebezpecneho obsahu antivirovym systemom na serveri spolocnosti Jaga Group s.r.o. a zda sa byt cista. Info: postmaster@jaga.sk