I channged the add machine and the add user script to: smbldap-useradd .. "%u" && nscd -i passwd && sleep 1s I think that is what you mean? Unfortunately it didn't solved the problem.
>> On 09 Mar 2010, at 16:53, Björn Jacke wrote: >> >> On 2010-03-09 at 08:57 +0100 toonverdo...@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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba