From:
[email protected]
Thus quoth Steve Langasek:
To: David Clymer <[email protected]>, [email protected]
From: Steve Langasek <[email protected]>
Subject: Re: Bug#265577: Acknowledgement (samba: nmbd shuts down frequently)
On Tue, Aug 17, 2004 at 11:19:55AM -0400, David Clymer wrote:
Below is my config, if it's of any use.
/etc/samba/smb.conf:
[global]
panic action = /usr/share/samba/panic-action %d
log level = 4
workgroup = SERVERS
netbios name = JEKYL
server string = "CSB Router, Name, & Proxy Server"
hosts allow = 192.168. 10.0.1.2 EXCEPT 192.168.10.2 192.168.2.
log file = /var/log/samba/%m.log
max log size = 1000
syslog = 0
security = user
encrypt passwords = true
passdb backend = tdbsam guest
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.10.0/24 127.0.0.1
^^^^^^^^^^^^^^^
This is not a valid interface line. Please change this to one of the accepted values as documented in smb.conf, and let us know whether the problem goes away.
Man smb.conf indicates (if I read it correctly) that it is indeed a valid interface specification. Perhaps the docs need updating? Anyway, I've
changed the line in question to:
interfaces = 192.168.10.1 127.0.0.1
I'll let you know if problems persist. Thanks for the suggestion.
-davidc
man smb.conf (exerpt):
--------------8<--------------
interfaces (G)
This option allows you to override the default network interfaces list that Samba will use for browsing, name registration and other NBT
traffic. By default Samba will query the kernel for the list of all active interfaces and use any interfaces except 127.0.0.1 that are
broadcast capable.
The option takes a list of interface strings. Each string can be in any of the following forms:
o a network interface name (such as eth0). This may include shell-like wildcards so eth* will match any interface starting with the sub-
string "eth"
o an IP address. In this case the netmask is determined from the list of interfaces obtained from the kernel
o an IP/mask pair.
o a broadcast/mask pair.
The "mask" parameters can either be a bit length (such as 24 for a C class network) or a full netmask in dotted decimal form.
The "IP" parameters above can either be a full dotted decimal IP address or a hostname which will be looked up via the OS's normal hostname reso-
lution mechanisms.
Default: interfaces = # all active interfaces except 127.0.0.1 that are broadcast capable
Example: interfaces = # This would configure three network interfaces corresponding to the eth0 device and IP addresses 192.168.2.10 and
192.168.3.10. The netmasks of the latter two interfaces would be set to 255.255.255.0. eth0 192.168.2.10/24 192.168.3.10/255.255.255.0
-------------->8--------------
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)