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

Andrew Bartlett abartlet at samba.org
Sat Mar 22 18:03:35 MDT 2014


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. 

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