Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-16-2002, 03:57 PM   #1
LQ Newbie
Registered: Jan 2002
Distribution: Red Hat 7.2
Posts: 11

Rep: Reputation: 0
Windows 2k will not see Samba server


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.

workgroup = SAMBA
security = user
browsable = yes
local master = yes
guest ok = yes

guest ok = no
browsable = yes

path = /tmp
public = yes
browseable = yes
guest ok = yes

Any help would be greatly appreciated

Old 07-17-2002, 01:19 PM   #2
Registered: Jun 2002
Location: Memphis
Distribution: Suse 8.0 Pro
Posts: 45

Rep: Reputation: 15
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.
Old 07-17-2002, 11:21 PM   #3
LQ Newbie
Registered: Jan 2002
Distribution: Red Hat 7.2
Posts: 11

Original Poster
Rep: Reputation: 0

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

Old 07-19-2002, 03:46 PM   #4
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Go to 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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
samba and windows server shares baznz Linux - Software 2 10-20-2005 06:51 PM
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 07:40 AM
Windows XP access to Samba Server Jack11 Linux - Networking 2 06-25-2004 01:09 PM
Cannot access Samba server from Windows digiplaya Linux - Networking 7 12-29-2003 01:32 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 01:32 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration