Bostjan Müller
2005-Mar-29 15:44 UTC
[Samba] add machine script + ldap doesn't work? Please help!
Hi, I have a pdc on samba 3.0.9 with LDAP as backend. However when I add a machine to domain (via the Windows interface - my computer->properties->network-identification->properties->domain The computer is added to the domain (into ldap), but only via samSambaAccount, and no posix parts. I have tried to use: add machine script = /usr/local/bin/smbldap-useradd.pl -w "%u" And nothing happened - it works just fine if I run it manually. Than I tried: add machine script = /bin/echo %u >> /tmp/addmachine.txt and again nothing happened, but the machine account exists in ldap at that point (allthough I deleted it before joining the domain). Is there anything more that one would have to do to make samba execute those scripts (I was joining the domain via root account (uid=0, gid=0)). Please help me if you can, because I do not know what to look for any more (logs also show no errors or clues at this point). Regards, Bostjan -- buhdej evridej