You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Petr Nejedly <Pe...@ondemand.co.uk> on 2009/04/02 13:24:45 UTC

Cannot add/list entries - corrupted record?

Hi all,
 
we're running Apache DC 1.3 on a Linux machine. So far, everything was
ok. But now we're facing a problem with listing entires using the
Eclipse plugin. When I try to refresh list of users, I'm getting this
error:
 
------------------------------------------------------------------------
---------------------
#!SEARCH RESULT DONE (218) ERROR
#!CONNECTION ldap://10.9.9.69:10389
#!DATE 2009-04-02T12:20:52.387
#!ERROR [LDAP: error code 80 - OTHER: failed for     SearchRequest
baseDn :
'2.5.4.11=users,2.5.4.11=odg,0.9.2342.19200300.100.1.25=odg,0.9.2342.192
00300.100.1.25=ondemand,0.9.2342.19200300.100.1.25=co,0.9.2342.19200300.
100.1.25=uk'         filter : '(2.5.4.0=*:[198])'         scope : single
level         typesOnly : false         Size Limit : 1000         Time
Limit : no limit         Deref Aliases : deref Always         attributes
: 'hassubordinates', 'objectclass' : null]
# numEntries : 174
------------------------------------------------------------------------
---------------------
 
I wonder if it could be caused by a corrupted record? It seems that user
'Jia Chi' has been created before but not properly, since it's not
showing in the users list (or indeed a search for her sn returns
nothing), but when we're trying to add her, we're geting this error:
 
------------------------------------------------------------------------
---------------------
#!RESULT ERROR
#!CONNECTION ldap://10.9.9.69:10389
#!DATE 2009-04-02T12:04:45.707
#!ERROR [LDAP: error code 68 - ENTRY_ALREADY_EXISTS: failed for     Add
Request : ClientEntry     dn: 2.5.4.3=jia
chi,2.5.4.11=users,2.5.4.11=odg,0.9.2342.19200300.100.1.25=odg,0.9.2342.
19200300.100.1.25=ondemand,0.9.2342.19200300.100.1.25=co,0.9.2342.192003
00.100.1.25=uk     objectclass: person     objectclass:
organizationalPerson     objectclass: inetOrgPerson     objectclass: top
sn: Chi     cn: Jia Chi     uid: jchi     userpassword: '0x70 0x61 0x73
0x73 0x77 0x6F 0x72 0x64 ' : cn=Jia
Chi,ou=Users,ou=ODG,dc=odg,dc=ondemand,dc=co,dc=uk already exists!]
dn: cn=Jia Chi,ou=Users,ou=ODG,dc=odg,dc=ondemand,dc=co,dc=uk
changetype: add
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: top
userpassword:: cGFzc3dvcmQ=
uid: jchi
sn: Chi
cn: Jia Chi
------------------------------------------------------------------------
---------------------
 
Is there a way of deleting this record somehow or run some kind of
self-healing process on the server?
 
Best regards,
 
Petr
 


The information contained in this email and its attachments is confidential and may be the subject of legal, professional or other privileged information. It is intended only for the named addressees and may not be disclosed to anyone else without consent from On Demand. If you are not the named addressee you must not use, disclose, distribute, copy, print or rely on the contents of this email and should destroy it immediately. Whilst On Demand takes care to protect its systems from electronic virus attack or other harmful event, the firm gives no warranty that this email message (including any attachments to it) is free of any virus or other harmful matter and accepts no responsibility for any loss or damage resulting from the recipient receiving, opening or using it. If you need any further information, please contact the originator of this message on +44 (0)20 7131 6700. Website: www.ondemand.co.uk. Registered Office: 1 Stephen Street, London, W1T 1AL. Registered in the UK No.4094951.

This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

Re: Cannot add/list entries - corrupted record?

Posted by Stefan Seelmann <se...@apache.org>.
Hi Petr,

are you using Apache Directory Server? If yes, could you please tell us
the version you are using and provide the server logs?

Kind Regards,
Stefan


Petr Nejedly schrieb:
> Hi all,
>  
> we're running Apache DC 1.3 on a Linux machine. So far, everything was
> ok. But now we're facing a problem with listing entires using the
> Eclipse plugin. When I try to refresh list of users, I'm getting this
> error:
>  
> ------------------------------------------------------------------------
> ---------------------
> #!SEARCH RESULT DONE (218) ERROR
> #!CONNECTION ldap://10.9.9.69:10389
> #!DATE 2009-04-02T12:20:52.387
> #!ERROR [LDAP: error code 80 - OTHER: failed for     SearchRequest
> baseDn :
> '2.5.4.11=users,2.5.4.11=odg,0.9.2342.19200300.100.1.25=odg,0.9.2342.192
> 00300.100.1.25=ondemand,0.9.2342.19200300.100.1.25=co,0.9.2342.19200300.
> 100.1.25=uk'         filter : '(2.5.4.0=*:[198])'         scope : single
> level         typesOnly : false         Size Limit : 1000         Time
> Limit : no limit         Deref Aliases : deref Always         attributes
> : 'hassubordinates', 'objectclass' : null]
> # numEntries : 174
> ------------------------------------------------------------------------
> ---------------------
>  
> I wonder if it could be caused by a corrupted record? It seems that user
> 'Jia Chi' has been created before but not properly, since it's not
> showing in the users list (or indeed a search for her sn returns
> nothing), but when we're trying to add her, we're geting this error:
>  
> ------------------------------------------------------------------------
> ---------------------
> #!RESULT ERROR
> #!CONNECTION ldap://10.9.9.69:10389
> #!DATE 2009-04-02T12:04:45.707
> #!ERROR [LDAP: error code 68 - ENTRY_ALREADY_EXISTS: failed for     Add
> Request : ClientEntry     dn: 2.5.4.3=jia
> chi,2.5.4.11=users,2.5.4.11=odg,0.9.2342.19200300.100.1.25=odg,0.9.2342.
> 19200300.100.1.25=ondemand,0.9.2342.19200300.100.1.25=co,0.9.2342.192003
> 00.100.1.25=uk     objectclass: person     objectclass:
> organizationalPerson     objectclass: inetOrgPerson     objectclass: top
> sn: Chi     cn: Jia Chi     uid: jchi     userpassword: '0x70 0x61 0x73
> 0x73 0x77 0x6F 0x72 0x64 ' : cn=Jia
> Chi,ou=Users,ou=ODG,dc=odg,dc=ondemand,dc=co,dc=uk already exists!]
> dn: cn=Jia Chi,ou=Users,ou=ODG,dc=odg,dc=ondemand,dc=co,dc=uk
> changetype: add
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> objectClass: top
> userpassword:: cGFzc3dvcmQ=
> uid: jchi
> sn: Chi
> cn: Jia Chi
> ------------------------------------------------------------------------
> ---------------------
>  
> Is there a way of deleting this record somehow or run some kind of
> self-healing process on the server?
>  
> Best regards,
>  
> Petr
>  
> 
> 
> The information contained in this email and its attachments is confidential and may be the subject of legal, professional or other privileged information. It is intended only for the named addressees and may not be disclosed to anyone else without consent from On Demand. If you are not the named addressee you must not use, disclose, distribute, copy, print or rely on the contents of this email and should destroy it immediately. Whilst On Demand takes care to protect its systems from electronic virus attack or other harmful event, the firm gives no warranty that this email message (including any attachments to it) is free of any virus or other harmful matter and accepts no responsibility for any loss or damage resulting from the recipient receiving, opening or using it. If you need any further information, please contact the originator of this message on +44 (0)20 7131 6700. Website: www.ondemand.co.uk. Registered Office: 1 Stephen Street, London, W1T 1AL. Registered in the 
UK No.4094951.
> 
> This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com
>