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

Louis-David Mitterrand vindex at apartia.org
Thu Oct 10 08:32:01 GMT 2002


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.

Thanks again for your help, cheers,



More information about the samba mailing list