Imagine that! Someone saying they can't connect Win98 to Linux! I've done it before, and I'm sure it's a stupid authentication thing, but PLEASE PLEASE HELP if you know the answer... PROBLEM: Just trying to share one directory on my Linuxbox (/www) Win2000 connects OK (only with encrypted passwords) But Windows 98 won't connect to my Linux shared folder. It gives either "Not Available" or "Please enter password" and never lets me connect. Any ideas? I'm LOW security - alreayd behind a couple firewalls. So things like "force user" are OK. MY /ETC/SMB.CONF file. WHAT COULD BE WRONG?!? [global] path = /www remote announce = 192.168.0.2/jupiter auto services = global dns proxy = no encrypt passwords = no null passwords = yes socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 force user = derek max log size = 50 server string = linux workgroup = juniper netbios name = linux log file = /var/log/samba/log.%m load printers = no netbios aliases = linux default = global [global] [global] workgroup = juniper server string = linux hosts allow = 192.168.0. 127. guest account = derek log file = /var/log/samba/log.%m max log size = 50 security = user socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 default case = lower case sensitive = no [www] writable = yes force group = derek guest account = derek public = yes force user = derek Thanks for your help!!
Derek Sivers / Hit Media wrote:> > Imagine that! Someone saying they can't connect Win98 to Linux! > I've done it before, and I'm sure it's a stupid authentication thing, > but PLEASE PLEASE HELP if you know the answer... > > PROBLEM: > Just trying to share one directory on my Linuxbox (/www) > Win2000 connects OK (only with encrypted passwords) > But Windows 98 won't connect to my Linux shared folder. > It gives either "Not Available" or "Please enter password" and never lets > me connect. Any ideas? > > I'm LOW security - alreayd behind a couple firewalls. So things like > "force user" are OK. > > MY /ETC/SMB.CONF file. > > WHAT COULD BE WRONG?!? > > [global] > path = /www > remote announce = 192.168.0.2/jupiter > auto services = global > dns proxy = no > encrypt passwords = no > null passwords = yes > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > force user = derek > max log size = 50 > server string = linux > workgroup = juniper > netbios name = linux > log file = /var/log/samba/log.%m > load printers = no > netbios aliases = linux > default = global > > [global] > [global] > > workgroup = juniper > server string = linux > hosts allow = 192.168.0. 127. > > guest account = derek > log file = /var/log/samba/log.%m > max log size = 50 > security = user > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > default case = lower > case sensitive = no > > [www] > writable = yes > force group = derek > guest account = derek > public = yes > force user = derek > > Thanks for your help!!ok i notice that derek is the user that you set up to connect to the share folder right? if so i think that your missing "valid users derek " try that also one thing you should always check is your /etc/smbpasswd and the /etc/passwd to see if they have the same id number. example : derek:509 --- this could be your /etc/smbpasswd derek:509 ----- this could be your /etc/passwd if they dont match then you will not have access to the samba server. also it depends on how you added the user. If you need more help let me know ok
Hey Luis - (and list) - Thanks VERY much for your reply. I've been sleepless for 2 days over this! Ack. Ok - I took your advice. But Windows 98 is still giving me the error: You must supply a password to make this connection: \\LINUX\IPC$ The O'Reilley Samba book says, "If you are presented with a dialog requesting the password for a user IPC$, then Samba did not accept the password that was sent from the client. " I've taken their advice to put my Win98 into multiuser mode, and make my Windows Logon username/password the same as on the Linux box (and therefore Samba.) COULD IT BE THAT MY WIN98 HAS ENCRYPTED-PASSWORD CAPABILITIES TURNED OFF? My Windows 2000 PC can connect to the Linux Samba share just fine!! I told /etc/smb.conf to accept null passwords, force user, accept guest, and all those unsecure things, but still I get this \IPC$ thing! Any ideas? Thanks again! > [global]> > path = /www > > remote announce = 192.168.0.2/jupiter > > auto services = global > > dns proxy = no > > encrypt passwords = no > > null passwords = yes > > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > > force user = derek > > max log size = 50 > > server string = linux > > workgroup = juniper > > netbios name = linux > > log file = /var/log/samba/log.%m > > load printers = no > > netbios aliases = linux > > default = global > > > > [global] > > [global] > > > > workgroup = juniper > > server string = linux > > hosts allow = 192.168.0. 127. > > > > guest account = derek > > log file = /var/log/samba/log.%m > > max log size = 50 > > security = user > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > default case = lower > > case sensitive = no > > > > [www] > > writable = yes > > force group = derek > > guest account = derek > > public = yes > > force user = derek > > >ok i notice that derek is the user that you set up >to connect to the share folder right? > >if so i think that your missing "valid users >derek " > >try that also one thing you should always check is >your /etc/smbpasswd and the /etc/passwd to see if >they have the same id number. > >example : > >derek:509 --- this could be your /etc/smbpasswd >derek:509 ----- this could be your /etc/passwd > >if they dont match then you will not have access >to the samba server. > >also it depends on how you added the user. >If you need more help let me know okI did the thing the Samba docs recommended: cat /etc/passwd | smbmakeuser.sh > /etc/smbpasswd So - yeah - they match up exactly.