Réf. : [Samba] add machine script wont add Postfix account
eravin at panix.com
Fri Mar 26 22:01:34 GMT 2004
On Fri, Mar 26, 2004 at 04:14:27PM +0100, stephane.purnelle at corman.be wrote:
> I have the same problem with my PDC.
> Work fine:
> Modify the script for add samba attribute ( three lines)
> Execute manually the entry (with smbldap-useradd.pl -w machine1)
> Try to join the domain
> Don't work :
> Samba call the smbldap-useradd -w %u and the script is not modified.
How about this:
add machine script = smbldap-useradd -w "%u"
(i.e. add the quotes, shouldn't matter but it sometimes does)
Also, try adding the commands below near the top of your add machine script:
exec >> /tmp/smbldap.debug 2>&1
And see what turns up in the debug file the next time you try to add
More information about the samba