LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-25-2004, 03:57 AM   #1
hXcoolraven
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Samba Help


Hi I configured and am trying to set up samba. Below is my smb.conf file but my problem is whenever I smbclient -L localhost and I type the password I have set for my username and root it gives me this error. session setup failed: NT_STATUS_LOGON_FAILURE. I don't know what I have set up wrong or what I need to do. Im using Samba 3.0.7. Help would be appreciated.

[global]

workgroup = WORKGROUP
server string = Samba Server %v
printcap name = cups
printing = cups
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
interfaces = lo eth0
bind interfaces only = yes
hosts allow = 127.0.0.1 192.168.1.0/24
hosts deny = 0.0.0.0/0
security = share
guest account = samba
guest ok = yes
#vfs object = vscan-clamav
#vfs options = config-file = /etc/samba/vscan-clamav.conf

[print$]

comment = Printer Drivers
path = /etc/samba/printer
guest ok = yes
browseable = yes
read only = yes
write list = jerry,root

[HP]

comment = HP PSC 1200
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = jerry,root

[printers]

comment = All Printers
browseable = no
printable = yes
writable = no
public = yes
guest ok = yes
path = /var/spool/samba
printer admin = jerry,root

[public]

comment = Public Files
browseable = yes
public = yes
create mode = 0766
guest ok = yes
path = /home/samba/public
 
Old 10-25-2004, 12:29 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Have you created samba users seperate from local system users?
 
Old 10-25-2004, 12:50 PM   #3
stuart1946
LQ Newbie
 
Registered: Oct 2004
Location: west coast of Canada
Distribution: mandrake 9.2
Posts: 25

Rep: Reputation: 15
Some ideas to consider.

1. I advise against allowing root to have samba access.

2. Try having the default user and the actual user the same

3. Samba can be configured to use its own password list, separate from your unix standard user/password list. This seems to be the default on my system. If you use webmin, you can easily specify that these be synchronized.

Stuart
 
Old 10-25-2004, 03:25 PM   #4
hXcoolraven
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Yes I have made user accounts seperate from my system accounts Do I somehow have to specify which one I want to log on from? Im confused.
 
Old 10-26-2004, 01:14 AM   #5
stuart1946
LQ Newbie
 
Registered: Oct 2004
Location: west coast of Canada
Distribution: mandrake 9.2
Posts: 25

Rep: Reputation: 15
At this point my brain has shut down.
On the linux play box I am trying to install & configure wine & I am in overload.

Try this approach

no, that won't work....

e-mail me and I will send you some different (working) smb.conf file - I will not post then here 'cause it will take too much time to edit them

Stuart
 
Old 10-27-2004, 05:40 AM   #6
knutove1728
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Redhat FC2
Posts: 44

Rep: Reputation: 15
You must apply the same user/passwd pair in both sambaserver (smbpasswd) lindoze and eventually in any windoze connected.
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

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

All times are GMT -5. The time now is 01:10 AM.

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