[Samba] Windows machine has to join two times

Björn Jacke bj at SerNet.DE
Tue Mar 9 07:53:10 MST 2010


On 2010-03-09 at 08:57 +0100 toonverdonck at dommel.be sent off:
> I'm running a debian lenny machine with samba (3.5.0) and OpenLDAP installed
> (2.4.11). When i add a machine to the domain, windows reports the following
> error: "The specified computer account could not be found". The computer
> account is added to the LDAP database but without the samba attributes. The
> weird thing is that if i try it a second the, the samba attributes are added to
> the computer account and the machine successfully joins the domain. This
> happens with XP, Vista and Windows 7 cliënts. I have no idea why it doesn't
> work the first time.

make sure to invoke nscd -i passwd at the end of your add machine/user script
and maybe sleep a second.

Björn
-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20100309/55b86eda/attachment.pgp>


More information about the samba mailing list