This is Interesting: Free IT Magazines  
Home > Archive > Samba > June 2004 > [Samba] Samba3 Win95 interoperability





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Samba] Samba3 Win95 interoperability
J. Nyhuis

2004-06-28, 8:43 am

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*updat
ed*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
Gémes Géza

2004-06-28, 8:43 am

Yes you were right the lanman auth =3Dno line explicitly disable any=20
Win3.11/95/98/Me client to connect to any non-guest share. I would also=20
recomend a little bit greater os level, especialy because you use your=20
samba box as a wins server.

Cheers

Geza

J. Nyhuis =EDrta:

> 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 o=

n
>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 =3D
>Win95" or something?
> Thanks much in advance.
>
> #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D G=

lobal Settings =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D
>[global]
> netbios name =3D shodan
> workgroup =3D CITADEL
> server string =3D File Server
> socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
> local master =3D yes
> preferred master =3D yes
> os level =3D 1
> wins support =3D yes
> dns proxy =3D yes
>
>#security options
> hosts allow =3D 192.168.13. 127.
> hosts deny =3D ALL
> interfaces =3D eth* lo
> bind interfaces only =3D yes
> security =3D user
> encrypt passwords =3D yes
> lanman auth =3D no
> smb passwd file =3D /etc/samba/smbpasswd
> unix password sync =3D Yes
> passwd program =3D /usr/bin/passwd %u
>passwd chat =3D *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n=

*passwd:*all*authentication*tokens*updat
ed*successfully*
> guest account =3D guest
> map to guest =3D bad user
>
>#log options
> log file =3D /var/log/samba/log.%m
> log level =3D 3
> max log size =3D 50
>
>
>
> Thanks,
>
>John H. Nyhuis
>University of Washington
>Desk: (206)-732-6148
>cabal@u.washington.edu
> =20
>


--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Tomás Polák

2004-06-28, 8:44 am

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

=====================================[vb
col=seagreen]
> [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[/vbcol]
*passwd:*all*authentication*tokens*updat
ed*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 obsahu

antivirovym 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

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Andrew Bartlett

2004-06-28, 7:27 pm

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Jonathan Johnson

2004-06-30, 5:53 pm

On Tue, 29 Jun 2004, Andrew Bartlett wrote:

> On Mon, 2004-06-28 at 16:20, Tomás Polák wrote:
>
> This is the cause of the inability to connect from Win95/98 machines.
>
> These clients only support Lanman authentication, and so have been
> locked out of this server.
>
> Andrew Bartlett
>


Not sure this is on point, but check out the Active Directory Client
Extensions, that may allow to you connect your Win95 machines with all
the necessary security options set on the server.

My experience is that this client is required to connect Win95 to
Windows Server 2003; your mileage with Samba may vary. I understand it
provides NT LanMan v2 authentication.

http://www.microsoft.com/windows200...adextension.asp

The Win9x client isn't available for download; it's on the Win2K Server
CD under the CLIENTS folder (but not on the Server 2003 CD).

--Jon Johnson
Sutinen Consulting, Inc.
jon@sutinen.com

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2010 webservertalk.com