Try this option in the smb.conf:
add machine script = /usr/sbin/smbldap-useradd -w -i "%u"
that should work. The -i tells smbldap-useradd to add a workstation trust
account.
Ferenc Ulrich
----- Original Message -----
From: "Logan Shaw" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, July 18, 2006 11:33 PM
Subject: Re: [Samba] Unable to add computer to domain
On Tue, 18 Jul 2006, User 1 wrote:
Pls help, I am in the progress implementing Samba as LDAP as PDC on FC5,
I
followed the instruction of "samba3-ldap-howto", now I am unable to add
computer to domain..
Tried to check /var/log/samba and found the following:
[2006/07/18 14:55:44, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2404)
_samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
"nb02$"'
gave 9
Hmm...
$ grep -c 'exit.*9' smbldap-useradd
1
Seems like since there is only one way for smbldap-useradd to
exit with code 9, maybe that's something you should look into.
- Logan
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba