[Samba] Member Server in Active Directory
M Maki
mmaki at adelphia.net
Thu Jun 17 20:13:53 GMT 2004
Getting closer. Thank you Daniel Ramaley for your advice below, I now get
# net ads join -U myadminaccount "PWR\Mediterranean Coast
Network\SAMO\Computers"
myadminaccount's password:
[2004/06/17 12:36:22, 0] libads/ldap.c:ads_add_machine_acct(1006)
Host account for inpsamo-debian already exists - modifying old account
and then it hangs. Watching with ethereal it hangs when my host transmits a
kpasswd Request (port 464 Kerberos password changing protocol) to one of the
domain controllers. kinit still seems to grant a valid ticket for the realm.
Any other ideas?
> Well, there has been no response to this problem yet. However, i have
> stumbled upon the solution myself. I am posting it in the hope that the
> solution is archived so others may see it.
>
> As previously posted, this command gives an error:
> # /usr/local/samba/bin/net ads join -U Cowles-Admin
> Cowles-Admin's password:
> [2004/06/16 09:49:33, 0] libads/ldap.c:ads_add_machine_acct(1006)
> Host account for cowl-backup already exists - modifying old
> account
> [2004/06/16 09:49:33, 0] libads/ldap.c:ads_join_realm(1336)
> ads_add_machine_acct: No such object
> ads_join_realm: No such object
>
> However, if the OU that the pre-existing machine account is appended to
> the command line, it works:
> # /usr/local/samba/bin/net ads join -U Cowles-Admin \
> "Cowles Library\Computers\testing"
> Cowles-Admin's password:
> [2004/06/16 09:51:21, 0] libads/ldap.c:ads_add_machine_acct(1006)
> Host account for cowl-backup already exists - modifying old
> account
> Using short domain name -- DRAKE
> Joined 'COWL-BACKUP' to realm 'DRAKE.EDU'
>
> I haven't done any testing yet, but so far it looks OK.
More information about the samba
mailing list