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

Steven Jones Steven.Jones at vuw.ac.nz
Fri Oct 12 00:45:06 UTC 2012


In the gui it does exist....I included an attachment of that as a screenshot

but I cant delete it from the gui because it doesnt exist.

:/


regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________
From: Rich Megginson [rmeggins at redhat.com]
Sent: Friday, 12 October 2012 1:30 p.m.
To: Steven Jones
Cc: freeipa-users at redhat.com
Subject: Re: [Freeipa-users] Cleaning a host that is both present & not found

On 10/11/2012 04:16 PM, Steven Jones wrote:

Even after running,

==========
[root at vuwunicoipam002 ~]# kinit ipajonesst1
Password for ipajonesst1 at ODS.VUW.AC.NZ:<mailto:ipajonesst1 at ODS.VUW.AC.NZ:>
[root at vuwunicoipam002 ~]# ldapdelete -Y GSSAPI "idnsName=vuwunicosldedt2,idnsname=ods.vuw.ac.nz,cn=dns,dc=ods,dc=vuw,dc=ac ,dc=nz"
SASL/GSSAPI authentication started
SASL username: ipajonesst1 at ODS.VUW.AC.NZ<mailto:ipajonesst1 at ODS.VUW.AC.NZ>
SASL SSF: 56
SASL data security layer installed.
ldap_delete: No such object (32)
        matched DN: idnsname=ods.vuw.ac.nz,cn=dns,dc=ods,dc=vuw,dc=ac,dc=nz
[root at vuwunicoipam002 ~]# ldapdelete -Y GSSAPI "idnsName=vuwunicosldedt1,idnsname=ods.vuw.ac.nz,cn=dns,dc=ods,dc=vuw,dc=ac ,dc=nz"
SASL/GSSAPI authentication started
SASL username: ipajonesst1 at ODS.VUW.AC.NZ<mailto:ipajonesst1 at ODS.VUW.AC.NZ>
SASL SSF: 56
SASL data security layer installed.
ldap_delete: No such object (32)
        matched DN: idnsname=ods.vuw.ac.nz,cn=dns,dc=ods,dc=vuw,dc=ac,dc=nz
[root at vuwunicoipam002 ~]#
==========

Ok, then I'm not sure why the RH support guy told you to delete an entry that doesn't exist.

regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: freeipa-users-bounces at redhat.com<mailto:freeipa-users-bounces at redhat.com> [freeipa-users-bounces at redhat.com<mailto:freeipa-users-bounces at redhat.com>] on behalf of Steven Jones [Steven.Jones at vuw.ac.nz<mailto:Steven.Jones at vuw.ac.nz>]
Sent: Friday, 12 October 2012 11:10 a.m.
To: Rich Megginson
Cc: freeipa-users at redhat.com<mailto:freeipa-users at redhat.com>
Subject: Re: [Freeipa-users] Cleaning a host that is both present & not found

The web ui is still failing....

:(

regards

Steven Jones

Technical Specialist - Linux RHCE

Victoria University, Wellington, NZ

0064 4 463 6272

________________________________________
From: Rich Megginson [rmeggins at redhat.com<mailto:rmeggins at redhat.com>]
Sent: Friday, 12 October 2012 10:13 a.m.
To: Steven Jones
Cc: Matthew Barr; freeipa-users at redhat.com<mailto:freeipa-users at redhat.com>
Subject: Re: [Freeipa-users] Cleaning a host that is both present & not found

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<mailto:mbarr at snap-interactive.com>]
Sent: Friday, 12 October 2012 9:25 a.m.
To: Steven Jones
Cc: freeipa-users at redhat.com<mailto: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><mailto: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<mailto:Freeipa-users at redhat.com>
https://www.redhat.com/mailman/listinfo/freeipa-users



_______________________________________________
Freeipa-users mailing list
Freeipa-users at redhat.com<mailto:Freeipa-users at redhat.com>
https://www.redhat.com/mailman/listinfo/freeipa-users





_______________________________________________
Freeipa-users mailing list
Freeipa-users at redhat.com<mailto:Freeipa-users at redhat.com>
https://www.redhat.com/mailman/listinfo/freeipa-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20121012/d3f6e005/attachment.htm>


More information about the Freeipa-users mailing list