Mike Leone on 24 Apr 2010 14:42:21 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Samba: trust fails - MORE


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@workhorse:/etc# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@DACRIB.LOCAL

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

root@workhorse:/etc# net ads testjoin -Uadministrator%password
Enter WORKHORSE$@DACRIB.LOCAL's 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?

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug