[Samba] winbindd fails to start

James B. Byrne byrnejb at harte-lyne.ca
Fri Aug 9 14:40:18 UTC 2024


I am testing samba-4.19 on FreeBSd-14.1 and am getting this error in the
log.wb-<DOMAIN> file:

../../source3/winbindd/winbindd_dual.c:1965(winbindd_sig_term_handler)

I suspect that this may caused by an ip4 address assignment clash as I am using
the configuration and data structures copied from our running Samba-4.13 DC.

When I run winbindd interactively I see this:

# /usr/local/sbin/winbindd -i -d 11
INFO: Current debug levels:
 . . .
Processing section "[global]"
doing parameter netbios name = SMB4-2
doing parameter disable netbios = yes
doing parameter realm = BROCKLEY.HARTE-LYNE.CA
doing parameter server role = active directory domain controller
doing parameter workgroup = BROCKLEY
doing parameter idmap_ldb:use rfc2307 = yes
doing parameter vfs objects = acl_xattr dfs_samba4 zfsacl
doing parameter socket options = TCP_NODELAY SO_KEEPALIVE
doing parameter bind interfaces only = Yes
doing parameter interfaces = localhost smb4-2
doing parameter dns forwarder = 216.185.71.33 216.185.71.34
doing parameter dns update command = /usr/local/sbin/samba_dnsupdate
doing parameter nsupdate command = /usr/local/bin/samba-nsupdate
doing parameter allow dns updates = nonsecure
doing parameter log level = 1
doing parameter log file = /var/log/samba4/smbd.log
doing parameter max log size = 10000
doing parameter debug timestamp = yes
doing parameter load printers = no
doing parameter printing = bsd
doing parameter printcap name = /dev/null
doing parameter disable spoolss = yes
vfs objects specified with all required AD DC modules
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface lo0 ip=127.0.162.1 bcast=127.0.162.1 netmask=255.255.255.255
interpret_interface: can't determine interface for smb4-2

ERROR: Can't log to stdout (-S) unless daemon is in foreground (-F) or
interactive (-i)

ifconfig shows this network topology:

# ifconfig
em0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0
mtu 1500
        options=4e524bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
        ether 00:30:48:c6:96:5c
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
em1: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0
mtu 1500
        options=4e524bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
        ether 00:30:48:c6:96:5d
        inet 192.168.216.164 netmask 0xffffffff broadcast 192.168.216.164
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.162.1 netmask 0xffffffff
        groups: lo

What is the problem?  How is it resolved?  Is there a configuration option
missing in smb4.conf?

# cat /usr/local/etc/smb4.conf

  debug timestamp = yes

  # Disable printing
  load printers = no
  printing = bsd
  printcap name = /dev/null
  disable spoolss = yes

## Shares
[sysvol]
  path = /var/db/samba4/sysvol
  read only = No

[netlogon]
  path = /var/db/samba4/sysvol/brockley.harte-lyne.ca/scripts
  read only = No

[PROFILES]
    comment = Users profiles
    path = /var/samba4/BROCKLEY/PROFILES/
    browseable = No
    read only = No
    force create mode = 0600
    force directory mode = 0700
    csc policy = disable
    store dos attributes = yes
    vfs objects = acl_xattr dfs_samba4 zfsacl

[USERS]
    comment = Users folder redirection
    path = /var/samba4/BROCKLEY/USERS/
    browseable = No
    read only = No
    force create mode = 0600
    force directory mode = 0700
    csc policy = disable
    store dos attributes = yes
    vfs objects = acl_xattr dfs_samba4 zfsacl

Any help is appreciated.

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




More information about the samba mailing list