Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have mandrake 10.1 installed. When I try to do : "winbind start" I get the error message:
"Starting Winbind services: Winbind is not configured in /etc/samba/smb.conf, not starting"
I have no idea what this is about. But, I have two problems:
When I check the status of Samba with SWAT, I get :
"smbd: not running
nmbd: running
winbindd: running"
but when I do samba status I get:
"# samba status
smbd (pid 7077 7076) is running...
nmbd (pid 7086) is running..."
Also, the problem is that when I try to browse the network with smb4k, it does not show the network computers automatically. However, when I search for any computer on the net, it starts to show the network computers.
I don't know what might be wrong, so here is my smb.conf and hoping someone could help me:
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/12/21 03:00:15
# Global parameters
[global]
workgroup = ARNIT
netbios name = LINUX
server string = Samba Server %v
security = SHARE
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
printer admin = @adm
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = Yes
browseable = No
[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
guest ok = Yes
For a long time I have had two servers (RH7.3 and Mandrake 10.1), one which SWAT works, one which reports "smbd not running".
I finally decided to figure out what the difference was. Here is what it was.
Simply add to:
"/etc/samba/lmhosts"
"IP Address of the server" "the name of the server"
While set up my print server using samba I came across the following:
#man smb.conf
under:
bind interfaces only, (about line 784)
If bind interfaces only is set then unless the network address
127.0.0.1 is added to the interfaces parameter list smbpasswd(8)
and swat(8) may not work as expected due to the reasons covered
below.....
The swat status page tries to connect withsmbd and nmbd at the
address127.0.0.1 to determine if they are running. Not adding
127.0.0.1 will cause smbd and nmbd to always show "not running"
even if they really are. This can prevent swat from start-
ing/stopping/restarting smbd and nmbd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.