LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Windows 2k will not see Samba server (https://www.linuxquestions.org/questions/linux-networking-3/windows-2k-will-not-see-samba-server-25909/)

Ajentsmith 07-16-2002 02:57 PM

Windows 2k will not see Samba server
 
Hello,

I am having a slight issue with my windows 2k computer not allowing me to connect with my SAMBA server. The error message I recieve when I attempt to connect to the SAMBA server (using either the command line in NT or trying to map the drive) is: System error 1240 has occurred. The account is not authorized to login from this workstation.

This is my smb.conf file. A very basic file.

[global]
workgroup = SAMBA
security = user
browsable = yes
local master = yes
guest ok = yes

[homes]
guest ok = no
browsable = yes

[temp]
path = /tmp
public = yes
browseable = yes
guest ok = yes


Any help would be greatly appreciated





:newbie:

krunkwick 07-17-2002 12:19 PM

First make sure that the username and password on the 2k machine also has a matching unix username and password and make sure that it is also in samba to.

unix: /etc/passwd
samba: /etc/samba/smbpasswd

Make sure that /tmp is read/writable to atleast that user if not everyone. Also make sure that your /etc/host.allow and host.deny isnt causing any greif.

I'm sure this has to do with security from somewhere. I'd set the security to share level instead of user level in smb.conf. If you can connect, then you will have a good idea where to start your troubleshooting.

Ajentsmith 07-17-2002 10:21 PM

Thanks,

That got me going in the right direction. I was able to at least see the Linux box and the shares.


:newbie:

tangle 07-19-2002 02:46 PM

Go to http://www.home-user.com/computer/computer.htm. I have a sample smb.conf file posted. Also you will need to add your win user to samba. Type, # smbpasswd -a myname. This will get you up and running.


All times are GMT -5. The time now is 04:09 PM.