Results 1 to 3 of 3
I can't figure out after my update to kernel 2.4.37.7 my samba appears to be listening on the wrong socket. It was working fine under 2.36.8 and I have the ...
- 11-21-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 2
[SOLVED] samba and 2.4.37.7
I can't figure out after my update to kernel 2.4.37.7 my samba appears to be listening on the wrong socket. It was working fine under 2.36.8 and I have the exact same kernel config. Basically smb connect is being routed through the outside world on eth0 instead of eth1 192.168.3.x subnet under this kernel.
I'm wondering if they decided that /etc/smb/smb.config should be somewhere else now or what the devil the issue is??
Any help would be greatly appreciated.
Thanks in advance
Joe
[root@earth Documentation]# rpm -qa |grep samba
samba-common-2.2.7-3.7.3
samba-2.2.7-3.7.3
samba-client-2.2.7-3.7.3
- 11-21-2009 #2Configuration of the /etc/smb.conf filebind interfaces only = True
The option bind interfaces only if set to True, allows you to limit what interfaces will serve smb requests. This is a security feature. The configuration option interfaces = eth0 192.168.1.1 below completes this option.
interfaces = eth0 192.168.1.1
The option interfaces allows you to override the default network interface 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 interface, except 127.0.0.1, that is broadcast capable. With this option, Samba will only listen on interface eth0 on the IP address 192.168.1.1. This is a security feature, and completes the above configuration option bind interfaces only = True.
- 11-22-2009 #3Just Joined!
- Join Date
- Nov 2009
- Posts
- 2
That was it! Thanks so much ... added the line bind interfaces only = True to global of smb.conf and it's back using internal socket.
You de man! ^5


