with most recent git master smbd fails to start in AD DC mode

Andrew Bartlett abartlet at samba.org
Sat Mar 22 02:55:54 MDT 2014

On Sat, 2014-03-22 at 04:31 +0100, Günter Kukkukk wrote:
> http://git.samba.org/?p=samba.git;a=commit;h=6034ab521c47fc5f4732398652c9c6847ff92035
> introduced the following failure (in AD DC mode):
> ....
> /usr/local/samba/sbin/smbd: smbd version 4.2.0pre1-GIT-7fdb21c started.
> /usr/local/samba/sbin/smbd: Copyright Andrew Tridgell and the Samba Team 1992-2014
> /usr/local/samba/sbin/smbd: Registered MSG_REQ_POOL_USAGE
> /usr/local/samba/sbin/smbd: Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> /usr/local/samba/sbin/smbd: lp_load_ex: refreshing parameters
> /usr/local/samba/sbin/smbd: Initialising global parameters
> /usr/local/samba/sbin/smbd: rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
> /usr/local/samba/sbin/smbd: params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf"
> /usr/local/samba/sbin/smbd: Processing section "[global]"
> /usr/local/samba/sbin/smbd: Processing section "[netlogon]"
> /usr/local/samba/sbin/smbd: Processing section "[sysvol]"
> /usr/local/samba/sbin/smbd: Processing section "[test]"
> /usr/local/samba/sbin/smbd: adding IPC service
> /usr/local/samba/sbin/smbd: added interface eno16777736 ip=2a02:8109:8f40:107c:20c:29ff:fe3b:8649 bcast= netmask=ffff:ffff:ffff:ffff::
> /usr/local/samba/sbin/smbd: added interface eno16777736 ip= bcast= netmask=
> /usr/local/samba/sbin/smbd: added interface lo ip=::1 bcast= netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
> /usr/local/samba/sbin/smbd: added interface lo ip= bcast= netmask=
> /usr/local/samba/sbin/smbd: loaded services
> /usr/local/samba/sbin/smbd: Becoming a daemon.
> /usr/local/samba/sbin/smbd: ldb_wrap open of idmap.ldb
> /usr/local/samba/sbin/smbd: getpwuid(3000011) failed                     <<<<<===== !!!!!?
> /usr/local/samba/sbin/smbd: Failed to finalize nt token
> /usr/local/samba/sbin/smbd: create_local_token failed: NT_STATUS_UNSUCCESSFUL
> /usr/local/samba/sbin/smbd: ERROR: failed to setup guest info.
> Child /usr/local/samba/sbin/smbd exited with status 255 - Unknown error 255
> file_server smbd daemon died with exit status 255
> task_server_terminate: [smbd child process exited]
> samba_terminate: smbd child process exited
> ------------
> When i revert this patch at least all former stuff is working again.

It probably would start if you had nss_winbind installed and running,
but this isn't a requirement and many sites quite reasonably don't have
it enabled.

We also can't just allow it to fail in the AD DC, as then a 'guest only'
share would fail.  (But it isn't used otherwise, because of the way the
AD DC authz stack is redirected). 

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list