[Samba] File server fails to start
Thaddeus Waldner
thadwald at hotmail.com
Tue Aug 17 21:02:46 UTC 2021
Hi,
I am trying to set up a Samba file server and join it to a Samba AD. The file server and DC are both running Ubuntu 20.4 and Samba version 4.14.6.
I’m using instructions from the samba wiki.
DNS appears to work, as far as I can tell. Samba-tool domain join was successful.
But I cannot start any of the Samba services.
smbd status:
Aug 17 16:29:09 schoolfs systemd[1]: Starting Samba SMB Daemon...
Aug 17 16:29:09 schoolfs smbd[1557]: [2021/08/17 16:29:09.341588, 0] ../../source3/auth/auth_util.c:1410(make_new_session_info_guest)
Aug 17 16:29:09 schoolfs smbd[1557]: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX
Aug 17 16:29:09 schoolfs smbd[1557]: [2021/08/17 16:29:09.341658, 0] ../../source3/smbd/server.c:2058(main)
Aug 17 16:29:09 schoolfs smbd[1557]: ERROR: failed to setup guest info.
Aug 17 16:29:09 schoolfs systemd[1]: smbd.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 17 16:29:09 schoolfs systemd[1]: smbd.service: Failed with result 'exit-code'.
Aug 17 16:29:09 schoolfs systemd[1]: Failed to start Samba SMB Daemon.
windind status:
Aug 17 20:55:45 schoolfs systemd[1]: Starting Samba Winbind Daemon...
Aug 17 20:55:45 schoolfs winbindd[1855]: [2021/08/17 20:55:45.665747, 0] ../../source3/winbindd/winbindd_cache.c:3204(initialize_winbindd_cache)
Aug 17 20:55:45 schoolfs winbindd[1855]: initialize_winbindd_cache: clearing cache and re-creating with version number 2
Aug 17 20:55:45 schoolfs winbindd[1855]: [2021/08/17 20:55:45.671033, 0] ../../source3/winbindd/winbindd_util.c:1286(init_domain_list)
Aug 17 20:55:45 schoolfs winbindd[1855]: Could not fetch our SID - did we join?
Aug 17 20:55:45 schoolfs winbindd[1855]: [2021/08/17 20:55:45.671074, 0] ../../source3/winbindd/winbindd.c:1459(winbindd_register_handlers)
Aug 17 20:55:45 schoolfs winbindd[1855]: unable to initialize domain list
Aug 17 20:55:45 schoolfs systemd[1]: winbind.service: Main process exited, code=exited, status=1/FAILURE
Aug 17 20:55:45 schoolfs systemd[1]: winbind.service: Failed with result 'exit-code'.
Aug 17 20:55:45 schoolfs systemd[1]: Failed to start Samba Winbind Daemon.
testparm -s
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_DOMAIN_MEMBER
# Global parameters
[global]
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
log file = /var/log/samba/%m.log
realm = NDS.SCHOOL.COM<http://NDS.SCHOOL.COM>
security = ADS
template homedir = /home/%U
template shell = /bin/bash
workgroup = NDS
idmap config nds:unix_nss_info = yes
idmap config nds:range = 10000-999999
idmap config nds:schema_mode = rfc2307
idmap config nds:backend = ad
idmap config * : range = 3000-7999
idmap config * : backend = tdb
vfs objects = acl_xattr
Thanks,
Thaddeus Waldner
More information about the samba
mailing list