LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba Help (https://www.linuxquestions.org/questions/linux-networking-3/samba-help-247005/)

hXcoolraven 10-25-2004 03:57 AM

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

david_ross 10-25-2004 12:29 PM

Welcome to LQ.

Have you created samba users seperate from local system users?

stuart1946 10-25-2004 12:50 PM

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

hXcoolraven 10-25-2004 03:25 PM

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.

stuart1946 10-26-2004 01:14 AM

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

knutove1728 10-27-2004 05:40 AM

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


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