[Freeipa-users] Cleaning a host that is both present & not found

Rich Megginson rmeggins at redhat.com
Thu Oct 11 21:13:00 UTC 2012


On 10/11/2012 03:07 PM, Steven Jones wrote:
> Hi,
>
> yes I have xplorer, maybe I'll do it that way as I cant figure out the ldapdelete command...
man ldapdelete

ldapdelete -x -D "cn=directory manager" -W 
"idnsName=vuwunicosldedt2,idnsname=ods.vuw.ac.nz,cn=dns,dc=ods,dc=vuw,dc=ac 
,dc=nz"

or, to use your kerberos credentials

ldapdelete -Y GSSAPI 
"idnsName=vuwunicosldedt2,idnsname=ods.vuw.ac.nz,cn=dns,dc=ods,dc=vuw,dc=ac 
,dc=nz"

>
> regards
>
> Steven Jones
>
> Technical Specialist - Linux RHCE
>
> Victoria University, Wellington, NZ
>
> 0064 4 463 6272
>
> ________________________________________
> From: Matthew Barr [mbarr at snap-interactive.com]
> Sent: Friday, 12 October 2012 9:25 a.m.
> To: Steven Jones
> Cc: freeipa-users at redhat.com
> Subject: Re: [Freeipa-users] Cleaning a host that is both present&  not found
>
> On Oct 11, 2012, at 3:50 PM, Steven Jones<Steven.Jones at vuw.ac.nz>  wrote:
>
>> HI,
>>
>> Looks like I have this at present as well.
>>
>> The advice off RH support is to run an ldapdelete but Im waiting on the complete syntax off them and why its happened.
>>
>> Meantime I have 2 machines in this state, no one can login.
>>
>> :/
>>
>> So what they have said is,
>>
>> ==========
>> Hello Steven, I am still going through all the data available in this case, but it looks like you should be able to fix this problem by deleting the following two entries using ldapdelete: dn: nsuniqueid=fdda5001-0cf511e2-8bfdc792-b25c661e,cn=computers,cn=accounts,dc =ods,dc=vuw,dc=ac,dc=nz dn: idnsName=vuwunicosldedt2,idnsname=ods.vuw.ac.nz,cn=dns,dc=ods,dc=vuw,dc=ac ,dc=nz
>> =========
>
> ldapdelete would have worked, but I ended up using jxplorer to do it.  Much easier for me at the time :)
>
> (i'm on a VPN link into the DC, and had access to the ldap port directly, so I could do that.     Their advise does look correct, though, and matches where I found the problem.)
>
> Matthew
>
>
>
>
> _______________________________________________
> Freeipa-users mailing list
> Freeipa-users at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-users




More information about the Freeipa-users mailing list