LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: 0
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





 
Old 07-17-2002, 01:19 PM   #2
krunkwick
Member
 
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
Ajentsmith
LQ Newbie
 
Registered: Jan 2002
Distribution: Red Hat 7.2
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks,

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
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,759

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:49 PM.

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