[Samba] Using samba-tool to join a linux file server to the domain doesn't appear to work

Patrick Goetz pgoetz at math.utexas.edu
Wed Nov 3 09:58:58 UTC 2021


Looks like I need to re-architect the whole system to use an internal 
DHCP server, because setting a static IP on the host appears to be 
causing issues:

root at data2:/etc/samba# samba-tool domain join ea.linuxcs.com MEMBER -U 
administrator
Password for [EA\administrator]:
Joined domain EA (S-1-5-21-2398640129-655337111-1434392923)

However, the host isn't known to the samba DC:

root at samba-dc:~# host data2
root at samba-dc:~#


and the winbind service won't start:

root at data2:/etc/samba# systemctl start winbind
Job for winbind.service failed because the control process exited with 
error code.
See "systemctl status winbind.service" and "journalctl -xe" for details.


Nov 03 04:55:53 data2 systemd[1]: Starting Samba Winbind Daemon...
Nov 03 04:55:53 data2 winbindd[6135]: [2021/11/03 04:55:53.365885,  0] 
../../source3/winbindd/winbindd_cache.c:3164(initialize_winbindd_cache)
Nov 03 04:55:53 data2 winbindd[6135]:   initialize_winbindd_cache: 
clearing cache and re-creating with version number 2
Nov 03 04:55:53 data2 winbindd[6135]: [2021/11/03 04:55:53.707988,  0] 
../../source3/winbindd/winbindd_util.c:1282(init_domain_list)
Nov 03 04:55:53 data2 winbindd[6135]:   Could not fetch our SID - did we 
join?
Nov 03 04:55:53 data2 winbindd[6135]: [2021/11/03 04:55:53.708037,  0] 
../../source3/winbindd/winbindd.c:1462(winbindd_register_handlers)
Nov 03 04:55:53 data2 winbindd[6135]:   unable to initialize domain list
Nov 03 04:55:53 data2 systemd[1]: winbind.service: Main process exited, 
code=exited, status=1/FAILURE
Nov 03 04:55:53 data2 systemd[1]: winbind.service: Failed with result 
'exit-code'.
Nov 03 04:55:53 data2 systemd[1]: Failed to start Samba Winbind Daemon.



More information about the samba mailing list