[Samba] new box can't join domain since switch to ldapsam

Andrew Bartlett abartlet at samba.org
Thu Oct 10 09:43:00 GMT 2002


On Thu, Oct 10, 2002 at 10:31:41AM +0200, Louis-David Mitterrand wrote:
> On Wed, Oct 09, 2002 at 11:49:10PM +1000, Andrew Bartlett wrote:
> > Louis-David Mitterrand wrote:
> > > Hello,
> > > 
> > > Since changing to "passdb backend = ldapsam" on my debian unstable PDC
> > > things work well, however a new winxp machine can't join the domain.
> > > 
> > > Here is the /var/log/samba/log.smbd output. It seems the sticking point
> > > is about a missing user RID? (the new machine is sylla).
> > 
> > Use either ldapsam_nua as the passdb backend, or use an add machine
> > script to add a 'unix' account for the machine.  getpwnam(machinename$)
> > must function by the time the add to the domain is attempted, or if you
> > use the _nua hack, it will try to do without - see the doco on this one.
> 
> Thanks, the "add machine script" directive works fine. 
> 
> Before I switched to ldapsam from unixsam the "add user script" did
> create unix account for machines joining the domain. So apparently "add
> machine script" is either a new item or is required when using ldapsam.

No, it's just new in Samba 3.0

Andrew Bartlett



More information about the samba mailing list