DNS forwarding and failure to bind for port 137

Dewayne Geraghty dewayne.geraghty at heuristicsystems.com.au
Tue Dec 4 15:27:21 MST 2012


Hi Kai,

Thank-you for taking an interest, the requested detail:

# /usr/local/samba/sbin/samba -i -M single -d 2
lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
samba version 4.0.0rc5 started.
Copyright Andrew Tridgell and the Samba Team 1992-2012
samba: using 'single' process model
Failed to bind to 10.0.5.241:137 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
task_server_terminate: [nbtd failed to setup interfaces]
dreplsrv_partition[CN=Configuration,DC=hs,DC=local] loaded
dreplsrv_partition[CN=Schema,CN=Configuration,DC=hs,DC=local] loaded
dreplsrv_partition[DC=hs,DC=local] loaded
dreplsrv_partition[DC=ForestDnsZones,DC=hs,DC=local] loaded
dreplsrv_partition[DC=DomainDnsZones,DC=hs,DC=local] loaded
kccsrv_partition[DC=hs,DC=local] loaded
kccsrv_partition[CN=Configuration,DC=hs,DC=local] loaded
kccsrv_partition[CN=Schema,CN=Configuration,DC=hs,DC=local] loaded
kccsrv_partition[DC=DomainDnsZones,DC=hs,DC=local] loaded
kccsrv_partition[DC=ForestDnsZones,DC=hs,DC=local] loaded
/usr/local/samba/sbin/smbd: smbd version 4.0.0rc5 started.
/usr/local/samba/sbin/smbd: Copyright Andrew Tridgell and the Samba Team 1992-2012
/usr/local/samba/sbin/smbd: standard input is not a socket, assuming -D option
Not authoritative for 'www.dell.com.au', forwarding
Not authoritative for 'www.dell.com.au.hs', forwarding

A debug level 4 provided additional information:
Child /usr/local/samba/sbin/samba_dnsupdate exited with status 0 - No error: 0
Completed DNS update check OK
dreplsrv_notify_schedule(5) scheduled for: Tue Dec  4 22:03:38 2012 UTC
Not authoritative for 'www.dell.com.au', forwarding
Not authoritative for 'www.dell.com.au.hs', forwarding

A tcpdump of the interface reveals no port 53 traffic. The active interface has
blue: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether 00:1f:d0:11:d4:12
        inet 10.0.5.241 netmask 0xffffff00 broadcast 10.0.5.255

Routing is good, "nslookup www.dell.com.au 10.0.5.91" correctly resolves.

# cat /usr/local/samba/etc/smb.conf
# Global parameters
[global]
        workgroup = HS
        realm = hs.local
        netbios name = T4
        server role = active directory domain controller

        dns forwarder = 10.0.5.91
        interfaces = 10.0.5.241
        bind interfaces only = yes

[netlogon]
        path = /usr/local/samba/var/locks/sysvol/hs.com/scripts
        read only = No

[sysvol]
        path = /usr/local/samba/var/locks/sysvol
        read only = No

And  /etc/resolv.conf
search hs.local hs
nameserver 10.0.5.241

An extract from /usr/local/samba/bin/samba-tool dns serverinfo 10.0.5.241
...
  aipServerAddrs              : ['10.0.5.241 (53)']
  aipListenAddrs              : ['10.0.5.241 (53)']
  aipForwarders               : []
  dwLogLevel                  : 0
  dwDebugLevel                : 0
  dwForwardTimeout            : 3
...

An extract from /usr/local/samba/bin/samba-tool dns zoneinfo 10.0.5.241 hs.local
...
  pszZoneName                 : hs.local
  dwZoneType                  : DNS_ZONE_TYPE_PRIMARY
  dwForwarderTimeout          : 0
  fForwarderSlave             : 0
  aipLocalMasters             : []
...

Kind regards, Dewayne.



More information about the samba-technical mailing list