with most recent git master smbd fails to start in AD DC mode
jra at samba.org
Sat Mar 22 13:39:42 MDT 2014
On Sat, Mar 22, 2014 at 06:37:57PM +0100, Günter Kukkukk wrote:
> > Hi Jeremy,
> > i'll try your patch later today - must first finish some private stuff.
> > I just did a new test using a "most fresh and simple" setup (not using your patch atm):
> > 1.) built recent git master
> > 2.) "make install"
> > 3.) samba-tool domain provision --interactive
> > 4.) /usr/local/samba/sbin/samba -i -M single -d3
> > This very _first_ start is already failing!
I'll take a look on Monday. But again, the sequence
username -> getpwnam() -> uid_to_sid() -> sid_to_uid() -> getpwuid() -> username
*Must* by symmetrical for smbd to make
any sense.... Even for the 'guest' user.
> > /usr/local/samba/sbin/smbd: create_local_token failed: NT_STATUS_UNSUCCESSFUL
> > /usr/local/samba/sbin/smbd: ERROR: failed to setup guest info.
More information about the samba-technical