[Samba] Samba: trust fails - MORE

Mike Leone turgon at mike-leone.com
Sat Apr 24 15:37:08 MDT 2010

So I ended up doing a

net ads leave

which removed the machine account from Active directory. Now I am trying
to re-add it, but it seems to still be hanging around in Kerberos ...

root at workhorse:/etc# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator at DACRIB.LOCAL

Valid starting     Expires            Service principal
04/24/10 17:25:50  04/25/10 03:25:55  krbtgt/DACRIB.LOCAL at DACRIB.LOCAL
	renew until 04/25/10 17:25:50

root at workhorse:/etc# net ads testjoin -Uadministrator%password
[2010/04/24 17:30:45,  0] libads/kerberos.c:332(ads_kinit_password)
  kerberos_kinit_password WORKHORSE$@DACRIB.LOCAL failed: Client not
found in Kerberos database
Join to domain is not valid: Improperly formed account name

WORKHORSE is the server I am trying to add. I dunno why it is trying to
use that password, rather than the administrator password.

So now I am more lost than ever. :-) Why is it wanting to use the
machine name, to join? Where to go now?

More information about the samba mailing list