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

Jeremy Allison jra at samba.org
Sat Mar 22 20:55:49 MDT 2014


On Sun, Mar 23, 2014 at 01:03:35PM +1300, Andrew Bartlett wrote:
> On Sat, 2014-03-22 at 12:39 -0700, Jeremy Allison wrote:
> > 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
> 
> | This part                              |
> 
> doesn't happen in the AD DC case.  We start with a SID from the sam.ldb
> database. 

Are you saying this SID from the sam.ldb database doesn't
map to a UNIX uid ? It is only the guest SID that is causing
the problem for Günter.

I guess I don't understand what you're trying to tell
me here (explain like I'm five please :-).

Cheers,

	Jeremy.


More information about the samba-technical mailing list