Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    bind 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.
    Configuration of the /etc/smb.conf file

  3. #3
    Just 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...