through the guest account. This is my smb.conf on the linux side: ; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany. ; [global] workgroup =3D SYAC guest account =3D winuser ; guest account =3D nobody keep alive =3D 30 os level =3D 2 kernel oplocks =3D false ; security =3D user ; Uncomment the following, if you want to use an existing ; NT-Server to authenticate users, but don't forget that ; you also have to create them locally!!! ; security =3D server ; password server =3D 192.168.1.10 encrypt passwords =3D yes printing =3D bsd printcap name =3D /etc/printcap load printers =3D yes socket options =3D TCP_NODELAY map to guest =3D Bad User ; Uncomment this, if you want to integrate your server ; into an existing net e.g. with NT-WS to prevent nettraffic ; local master =3D no ; Please uncomment the following entry and replace the ; ip number and netmask with the correct numbers for ; your ethernet interface. interfaces =3D 192.168.2.30/255.255.255.0 ; Passwords are encrypted by default. This way the latest Windows 95 and NT ; clients can connect to the Samba server with no problems. encrypt passwords =3D yes netbios name =3D MFlinux_30 ; If you want Samba to act as a wins server, please set ; 'wins support =3D yes' wins support =3D no ; If you want Samba to use an existing wins server, ; please uncomment the following line and replace ; the dummy with the wins server's ip number. ; wins server =3D 192.168.1.1 [homes] comment =3D home-directory browseable =3D no read only =3D no create mode =3D 0755 guest ok =3D true [printers] comment =3D All Printers browseable =3D no printable =3D yes 43,3 76% browseable =3D no printable =3D yes public =3D no read only =3D yes create mode =3D 0700 directory =3D /tmp [myshare] comment =3D test for samba share path =3D /home/mf writeable =3D true ; read only =3D yes ; guest ok =3D true ; user =3D "winuser" If I uncomment the line guest ok =3D true in myshare section everything works fine. Winuser is a username/password existing in the /etc/passwd file. With the showed smb.conf, on the PC side a dialog box prompts me for the username/password. I typed couples of username/password existing in the /etc/passwd file but the answer was sadly always the same: "Unknown user or wrong password." I tried also the null password option and a user with no password. To make the statement netbios name =3D newname valid, do you have to reboot the linux machine? On the linux machine iI'm running a SUSE 7.3 version. I tried this (my final target) also with a Strongarm processor running a Montavista linux distribution. I enclose the full smb.conf file, the /etc/passwd file and the /etc/group file. I will really appreciate your help. Thank you for your kind attention, best regards, Marco Furlan (marco.furlan@syac.com) ------=_NextPart_001_000C_01C2BE05.940848C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I have some problems implementing an architecture=20 where a linux machine acts as a samba server, while a W2K PC acts as a samba=20 client.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>From the PC I can see the service [myshare] on the=20 linux machine only through the guest account.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>This is my smb.conf on the linux side:</FONT></DIV> <DIV><FONT face=3DArial size=3D2>; Copyright (c) 1999 SuSE GmbH Nuernberg,=20 Germany.<BR>;<BR>[global]<BR> workgroup =3D SYAC<BR> =20 <STRONG>guest account =3D winuser</STRONG><BR>; guest account =3D=20 nobody<BR> keep alive =3D 30<BR> os level =3D=20 2<BR> kernel oplocks =3D false<BR>; security =3D user</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>; Uncomment the following, if you want to use an=20 existing<BR>; NT-Server to authenticate users, but don't forget that<BR>; you=20 also have to create them locally!!!<BR>; security =3D server<BR>; =20 password server =3D 192.168.1.10</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> encrypt passwords =3D yes</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> printing =3D bsd<BR> =20 printcap name =3D /etc/printcap<BR> load printers =3D yes</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> socket options =3D=20 TCP_NODELAY</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> map to guest =3D Bad User</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>; Uncomment this, if you want to integrate your=20 server<BR>; into an existing net e.g. with NT-WS to prevent=20 nettraffic<BR>; local master =3D no</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>; Please uncomment the following entry and replace=20 the<BR>; ip number and netmask with the correct numbers for<BR>; your ethernet=20 interface.<BR> interfaces =3D 192.168.2.30/255.255.255.0</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>; Passwords are encrypted by default. This way the=20 latest Windows 95 and NT<BR>; clients can=20 connect to the Samba server with no problems.<BR> encrypt passwords =3D=20 yes</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> netbios name =3D MFlinux_30</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>; If you want Samba to act as a wins server, please=20 set<BR>; 'wins support =3D yes'<BR> wins support =3D no</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>; If you want Samba to use an existing wins=20 server,<BR>; please uncomment the following line and replace<BR>; the dummy with=20 the wins server's ip number.<BR>; wins server =3D=20 192.168.1.1</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>[homes]<BR> comment =3D=20 home-directory<BR> browseable =3D no<BR> read only =3D=20 no<BR> create mode =3D 0755<BR> guest ok =3D true</DIV> <DIV> </DIV> <DIV>[printers]<BR> comment =3D All Printers<BR> browseable =3D no<BR> printable =3D=20 yes<BR> =20 43,3 76%<BR> =20 browseable =3D no<BR> printable =3D yes<BR> public =3D=20 no<BR> read only =3D yes<BR> create mode =3D=20 0700<BR> directory =3D /tmp</DIV> <DIV> </DIV> <DIV>[myshare]<BR> comment =3D test for samba share<BR> =20 path =3D /home/mf<BR> writeable =3D true<BR>; read only =3D=20 yes<BR>; guest ok =3D true<BR>; user =3D "winuser"<BR></DIV> <DIV>If I uncomment the line guest ok =3D true in myshare section everything works=20 fine. <STRONG>Winuser </STRONG>is a username/password existing in the=20 <STRONG>/etc/passwd</STRONG> file.</DIV> <DIV>With the showed smb.conf, on the PC side a dialog box prompts me for=20 the username/password. I typed couples of username/password existing in=20 the</DIV> <DIV>/etc/passwd file but the answer was sadly always the same: "Unknown user or=20 wrong password."</DIV> <DIV>I tried also the null password option and a user with no password.</DIV> <DIV>To make the statement netbios name =3D newname valid, do you have to reboot=20 the linux machine?</DIV> <DIV>On the linux machine iI'm running a SUSE 7.3 version.</DIV> <DIV>I tried this (my final target) also with a Strongarm processor running a=20 Montavista linux distribution.</DIV> <DIV>I enclose the full smb.conf file, the /etc/passwd file and the /etc/group=20 file.</DIV> <DIV>I will really appreciate your help.</DIV> <DIV> </DIV> <DIV>Thank you for your kind attention,</DIV> <DIV> </DIV> <DIV>best regards,</DIV> <DIV> </DIV> <DIV>Marco Furlan (<A=20 href=3D"mailto:marco.furlan@syac.com">marco.furlan@syac.com</A>)</DIV></FONT></FONT></DIV></BODY></HTML> ------=_NextPart_001_000C_01C2BE05.940848C0-- ------=_NextPart_000_000B_01C2BE05.940848C0 Content-Type: application/octet-stream; name="group" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="group" root:x:0:root=0Abin:x:1:root,bin,daemon=0Adaemon:x:2:=0Asys:x:3:=0Atty:x:5:=0Adisk:x:6:=0Alp:x:7:=0Awwwadmin:x:8:=0Akmem:x:9:=0Awheel:x:10:=0Amail:x:12:cyrus=0Anews:x:13:news=0Auucp:x:14:uucp,fax,root,fnet,marcoa,roberto,paolo,massimo,edi,stefano,filippo=0Ashadow:x:15:root,gdm=0Adialout:x:16:root,marcoa,roberto,paolo,massimo,edi,stefano,filippo=0Aaudio:x:17:root,marcoa,roberto,paolo,massimo,edi,stefano,filippo=0Aat:x:25:at=0Alnx:x:27:=0Amdom:x:28:=0Ayard:x:29:=0Adosemu:x:30:=0Afirewall:x:31:=0Apublic:x:32:=0Avideo:x:33:marcoa,roberto,paolo,massimo,edi,stefano,filippo=0Ainformix:x:34:informix=0Agame:x:40:=0Axok:x:41:=0Atrusted:x:42:=0Amodem:x:43:=0Anamed:x:44:named=0Apostfix:x:51:postfix=0Adbmaker:x:52:=0Afix:x:53:informix=0Aoinstall:x:54:=0Adba:x:55:oracle=0Alocalham:x:56:dpbox=0Alogmastr:x:57:=0Acodine:x:58:codadmin=0Amaildrop:x:59:=0Aperforce:x:60:perforce=0Asapdb:x:61:sapdb=0Ausers:x:100:=0Anogroup:x:65534:root=0A ------=_NextPart_000_000B_01C2BE05.940848C0 Content-Type: application/octet-stream; name="smb.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="smb.conf" ; ; /etc/smb.conf ; ; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany. ; [global] workgroup =3D SYAC guest account =3D winuser ; guest account =3D nobody keep alive =3D 30 os level =3D 2 kernel oplocks =3D false ; security =3D user ; Uncomment the following, if you want to use an existing ; NT-Server to authenticate users, but don't forget that ; you also have to create them locally!!! ; security =3D server ; password server =3D 192.168.1.10 encrypt passwords =3D yes printing =3D bsd printcap name =3D /etc/printcap load printers =3D yes ; This socket options really speed up Samba under Linux, according to my ; own tests. ; socket options =3D IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=3D4096 SO_RCVBUF=3D4096 #Montavista socket options =3D TCP_NODELAY map to guest =3D Bad User max connections =3D 5 max smbd processes =3D 5 ; Uncomment this, if you want to integrate your server ; into an existing net e.g. with NT-WS to prevent nettraffic ; local master =3D no =20 ; Please uncomment the following entry and replace the=20 ; ip number and netmask with the correct numbers for ; your ethernet interface. interfaces =3D 192.168.2.30/255.255.255.0 ; Passwords are encrypted by default. This way the latest Windows 95 and NT ; clients can connect to the Samba server with no problems. encrypt passwords =3D yes ; null passwords =3D yes netbios name =3D MFlinux_30 ; If you want Samba to act as a wins server, please set ; 'wins support =3D yes' wins support =3D no ; If you want Samba to use an existing wins server, ; please uncomment the following line and replace ; the dummy with the wins server's ip number. ; wins server =3D 192.168.1.1 ; Do you wan't samba to act as a logon-server for ; your windows 95/98 clients, so uncomment the ; following: ; logon script =3D%U.bat ; domain logons =3D yes ; domain master =3D yes ; [netlogon] ; path =3D /netlogon [homes] comment =3D home-directory browseable =3D no read only =3D no create mode =3D 0755 guest ok =3D true ; The following share gives all users access to the Server's CD drive, ; assuming it is mounted under /cd. To enable this share, please remove ; the semicolons before the lines ; ; [cdrom] ; comment =3D Linux CD-ROM ; path =3D /cdrom ; read only =3D yes ; locking =3D no [printers] comment =3D All Printers browseable =3D no printable =3D yes public =3D no read only =3D yes create mode =3D 0700 directory =3D /tmp [myshare] comment =3D test for samba share path =3D /home/mf writeable =3D true ; read only =3D yes ; guest ok =3D true ; user =3D "winuser" ------=_NextPart_000_000B_01C2BE05.940848C0 Content-Type: application/octet-stream; name="passwd" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="passwd" root:x:0:0:root:/root:/bin/bash #root password is super!!!!! bin:x:1:1:bin:/bin:/bin/bash daemon:x:2:2:daemon:/sbin:/bin/bash lp:x:4:7:lp daemon:/var/spool/lpd:/bin/bash news:x:9:13:News system:/etc/news:/bin/bash uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash games:x:12:100::/var/games:/bin/bash man:x:13:2::/var/cache/man:/bin/bash at:x:25:25::/var/spool/atjobs:/bin/bash postgres:x:26:2:Postgres Database Admin:/var/lib/pgsql:/bin/bash lnx:x:27:27:LNX Database Admin:/usr/lib/lnx:/bin/bash mdom:x:28:28:Mailing list agent:/usr/lib/majordomo:/bin/bash yard:x:29:29:YARD Database Admin:/usr/lib/YARD:/bin/bash wwwrun:x:30:65534:Daemon user for apache:/var/lib/wwwrun:/bin/bash squid:x:31:65534:WWW proxy squid:/var/squid:/bin/bash fax:x:33:14:Facsimile Agent:/var/spool/fax:/bin/bash gnats:x:34:65534:Gnats Gnu Backtracking System:/usr/lib/gnats:/bin/bash adabas:x:36:100:Adabas-D Database Admin:/usr/lib/adabas:/bin/bash amanda:x:37:6:Amanda Admin:/var/lib/amanda:/bin/bash ixess:x:38:29:IXware Admin:/usr/lib/ixware:/bin/bash irc:x:39:65534:IRC Daemon:/usr/lib/ircd:/bin/bash ftp:x:40:2:ftp account:/usr/local/ftp:/bin/bash firewall:x:41:31:firewall account:/var/lib/firewall:/bin/false informix:x:43:34:Informix Database Admin:/usr/lib/informix:/bin/bash named:x:44:44:Nameserver Daemon:/var/named:/bin/bash virtuoso:x:45:100:Virtuoso Admin:/opt/virtuoso-lite:/bin/bash fnet:x:49:14:FidoNet:/var/spool/fnet:/bin/bash gdm:x:50:15:Gnome Display Manager:/var/lib/gdm:/bin/bash postfix:x:51:51:Postfix:/var/spool/postfix:/bin/false cyrus:x:96:12:User for Imapd:/usr/cyrus:/bin/bash nps:x:53:100:NPS admin:/opt/nps:/bin/bash skyrix:x:54:100:SKYRIX admin:/opt/skyrix/skyrix36:/bin/bash dbmaker:x:55:52:Dbmaker Database Admin:/usr/lib/dbmaker:/bin/bash fixadm:x:56:53:Linux Fincancial Suite Admin:/opt/fsuite/home/fixadm:/bin/ksh fib:x:57:53:Linux Fincancial Suite fib:/opt/fsuite/home/fib:/bin/ksh fixlohn:x:58:53:Linux Fincancial Suite fixlohn:/opt/fsuite/home/fixlohn:/bin/ksh oracle:x:59:54:Oracle User:/opt/oracle:/bin/bash mysql:x:60:2:MySQL Database User:/var/lib/mysql:/bin/false dpbox:x:61:56:DpBox User:/var/spool/dpbox:/bin/false ingres:x:62:3:Ingres DataBase administrator:/opt/tngfw/ingres:/bin/bash codadmin:x:63:58:Codine Administrator:/var/lib/codadmin:/bin/bash zope:x:64:2:Zope Server:/var/lib/zope:/bin/false vscan:x:65:65534:vscan user:/var/spool/vscan:/bin/false wnn:x:66:100:Wnn System Account:/var/lib/wnn:/bin/false pop:x:67:100:pop admin:/var/lib/pop:/bin/false perforce:x:68:60:perfoce admin:/var/lib/perforce:/bin/false sapdb:x:69:61:SAPDB demo user:/var/opt/sapdb:/bin/false nobody:x:65534:65534:nobody:/var/lib/nobody:/bin/bash winuser:YbSA1K9QN9Tss:510:100:winuser samba:/home:/bin/bash #password is everest!!! ------=_NextPart_000_000B_01C2BE05.940848C0--