by truning log level=3D10, log file =3D /usr/local/samba/var/log.%m and trying it again. Then look at the log and search for a sessionsetup&X line, and see what the=20 user name is.... =20 Possibly it is checking the password for the user (that is NOT greg), to validate that user before it checks to see if it is a member of @pcusers... I don't rememver offhand which check is made=20 first... Don -----Original Message----- From: Fernando Schutz [mailto:fernando@univel.br] Sent: Tuesday, October 02, 2001 8:06 AM To: Lista Samba Subject: Security Again Ok!!! Thanks a lot: =20 valid users =3D greg, @pcusers guest ok =3D no =20 works!!!!! =20 But, if I'm using Windows 98, logged in with a user that is not greg (look above) it asks to me a password. =20 Which password? Root? =20 And when I've tried to log with Windows NT 4.0, it asks the username and password, probably for the user that are allowed to see the sharing (in the case above greg and @pcusers). But when I put the username greg and the greg's pass, it doesn't works. =20 Regards. =20 Schutz. =B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7=B7 ___________________ =AE Obrigado! / /\ ---------------------=20 / //~~~ //~~~ / /\ =B7Fernando Sch=FCtz / //~~ //___ / /\ --------------------- =20 / // // / /\ Analista de Sistemas / =B7=B7 ~~~~~ / /\ --------------------- /__________________/ /\ Work: +55(45)226.0026 \__________________\/\ +55(45)222.4411 \\\\\\\\\\\\\\\\\\\\ ICQ: 7371212 ------_=_NextPart_001_01C14B44.37188E20 Content-Type: text/html; charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4522.1800" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>Hi Fernando,</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>I haven't been following this thread, so I've missed what you're already sent.</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>Forgive me if I ask questions that you have already answered.</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>Are you using encrypted passwords? If not, have you enabled cleartext passwords in WinNT 40?</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>From win98, you can check to see what user it is trying to authenticate by truning log level=10,</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>log file = /usr/local/samba/var/log.%m</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>and trying it again. Then look at the log and search for a sessionsetup&X line, and see what the </FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>user name is....</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>Possibly it is checking the password for the user (that is NOT greg), to validate that user before</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>it checks to see if it is a member of @pcusers... I don't rememver offhand which check is made </FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>first...</FONT></SPAN></DIV> <DIV><SPAN class=971260913-02102001><FONT face=Arial color=#0000ff size=2>Don</FONT></SPAN></DIV> <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Fernando Schutz [mailto:fernando@univel.br]<BR><B>Sent:</B> Tuesday, October 02, 2001 8:06 AM<BR><B>To:</B> Lista Samba<BR><B>Subject:</B> Security Again<BR><BR></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001>Ok!!! Thanks a lot:</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001></SPAN></FONT> </DIV> <DIV><FONT face="Courier New" size=2><SPAN class=200150322-01102001>valid users = greg, @pcusers</SPAN></FONT></DIV> <DIV><FONT size=2><SPAN class=200150322-01102001></SPAN></FONT><FONT face="Courier New" size=2><SPAN class=200150322-01102001>guest ok = no</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001>works!!!!!</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001>But, if I'm using Windows 98, logged in with a user that is not greg (look above) it asks to me a password.</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001>Which password? Root?</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001>And when I've tried to log with Windows NT 4.0, it asks the username and password, probably for the user that are allowed to see the sharing (in the case above greg and @pcusers). But when I put the username greg and the greg's pass, it doesn't works.</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001>Regards.</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001></SPAN></FONT> </DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001>Schutz.</SPAN></FONT></DIV> <DIV><FONT face=Arial size=2><SPAN class=200150322-01102001></SPAN></FONT><FONT face="Courier New" size=2>·····················································<BR> ___________________ ® Obrigado!<BR> / /\ --------------------- <BR> / //~~~ //~~~ / /\ ·Fernando Schütz<BR> / //~~ //___ / /\ --------------------- <BR> / // // / /\ Analista de Sistemas<BR> / ·· ~~~~~ / /\ ---------------------<BR> /__________________/ /\ Work: +55(45)226.0026<BR> \__________________\/\ +55(45)222.4411<BR> <A>\\\\\\\\\\\\\\\\\\\\</A> ICQ: 7371212<BR></DIV></BLOCKQUOTE></FONT></BODY></HTML> ------_=_NextPart_001_01C14B44.37188E20--