directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marcher" <martin.marc...@gmail.com>
Subject Re: Alias Problem "failed on search operation: attributeType w/ OID 1.3.6.1.4.1.1466.115.121.1.12 not registered!"
Date Tue, 08 May 2007 19:57:06 GMT
Hi,

On 5/8/07, Emmanuel Lecharny <elecharny@apache.org> wrote:
> > freshly installed apacheds 1.5, I started the server with
> > ./bin/server.init debug and the output stays empty upon searching with
> > the line below so i can't really provide more info - better don't know
> > how to provide more info. Using debian stable:
> >
> > I tried that search with the indexes from the
> > examplePartitionConfiguration and without them (first not having
> > indexes then adding them to the server.xml and restarting apacheds,
> > still no go). Now am I missing something big here or why is this
> > search not working?
>
> Well, I'm afraid you have to dump your base and laod it again. Index are
> created when adding entries, not when starting the server (AFAIK).
> <snip/>

More precise here is what I did:

open ldap studio connect to apacheds
load sevenseas sampledata
open server.xml file in an editor
copy the  <property name="indexedAttributes"> stuff from
examplePartitionConfiguration to sevenSeasPartitionConfiguration (all
from the basic user guide so that is all data you have available)
(don't yet save it)
stop the server
save server.xml
start the server
try to find entries with ldapstudio (didn't close the connection!)

What also happened was that o=sevenseas didn't show any entries any
more. (sample data has been loaded before) - neither ldapstudio
(reloaded the schema, restarted eclipse - i'm using the 0.8 plugin)
nor ldapsearch from debians ldap-utils show anything.

I just tried that again

stop server
rm -rf var/partitions/sevenseas
start server again
same procedure as above (connect, load, etc, etc, add index entries to
the config file)

the data under o=sevenseas seems to be gone. But upon importing there
are 18 errors because all the data still exists. (logfile below).

I know it's not really nice not to shut down the connections but I can
imagine that this could happen in a real world scenario (restarting
the apacheds because of some config change or adding a partition,
whatever).

Having to reload the data isn't much of a problem for me, our
directory is quite small and I guess reloading won't take long but all
of the entries not being accessible any more seems

a) PEBCAK (which i suspect in the first place here) or
b) not good at all


--snip--
$ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w secret
-b "o=sevenseas" -s sub -x -u "(objectclass=*)"
# extended LDIF
#
# LDAPv3
# base <o=sevenseas> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 0 Success

# numResponses: 1
--snap--

> I also suggest that you fill a JIRA for this problem, because it could
> be interesting to create an index on the flay when the server is
> restarted, if the added index has just been created.

Will do so. Just asking here so that I know to some extent i didn't do
something totally stupid.

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.608
#!ERROR [LDAP: error code 68 - failed to add entry
ou=people,o=sevenSeas: 2.5.4.11=people,2.5.4.10=sevenseas already
exists!]
dn: ou=people,o=sevenSeas
objectclass: organizationalUnit
objectclass: top
description: Contains entries which describe persons (seamen)
ou: people

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.625
#!ERROR [LDAP: error code 68 - failed to add entry
ou=groups,o=sevenSeas: 2.5.4.11=groups,2.5.4.10=sevenseas already
exists!]
dn: ou=groups,o=sevenSeas
objectclass: organizationalUnit
objectclass: top
description: Contains entries which describe groups (crews, for instance)
ou: groups

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.640
#!ERROR [LDAP: error code 68 - failed to add entry
ou=crews,ou=groups,o=sevenSeas:
2.5.4.11=crews,2.5.4.11=groups,2.5.4.10=sevenseas already exists!]
dn: ou=crews,ou=groups,o=sevenSeas
objectclass: organizationalUnit
objectclass: top
description: Contains entries which describe ship crews
ou: crews

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.656
#!ERROR [LDAP: error code 68 - failed to add entry
ou=ranks,ou=groups,o=sevenSeas:
2.5.4.11=ranks,2.5.4.11=groups,2.5.4.10=sevenseas already exists!]
dn: ou=ranks,ou=groups,o=sevenSeas
objectclass: organizationalUnit
objectclass: top
description: Contains entries which describe naval ranks (e.g. captain)
ou: ranks

# HMS Lydia Crew
# --------------

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.675
#!ERROR [LDAP: error code 68 - failed to add entry cn=Horatio
Hornblower,ou=people,o=sevenSeas: 2.5.4.3=horatio
hornblower,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=Horatio Hornblower,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: Horatio Hornblower
description: Capt. Horatio Hornblower, R.N
givenname: Horatio
sn: Hornblower
uid: hhornblo
mail: hhornblo@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.698
#!ERROR [LDAP: error code 68 - failed to add entry cn=William
Bush,ou=people,o=sevenSeas: 2.5.4.3=william
bush,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=William Bush,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: William Bush
description: Lt. William Bush
givenname: William
manager: cn=Horatio Hornblower,ou=people,o=sevenSeas
sn: Bush
uid: wbush
mail: wbush@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.725
#!ERROR [LDAP: error code 68 - failed to add entry cn=Thomas
Quist,ou=people,o=sevenSeas: 2.5.4.3=thomas
quist,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=Thomas Quist,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: Thomas Quist
description: Seaman Quist
givenname: Thomas
manager: cn=Horatio Hornblower,ou=people,o=sevenSeas
sn: Quist
uid: tquist
mail: tquist@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.745
#!ERROR [LDAP: error code 68 - failed to add entry cn=Moultrie
Crystal,ou=people,o=sevenSeas: 2.5.4.3=moultrie
crystal,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=Moultrie Crystal,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: Moultrie Crystal
description: Lt. Crystal
givenname: Moultrie
manager: cn=Horatio Hornblower,ou=people,o=sevenSeas
sn: Crystal
uid: mchrysta
mail: mchrysta@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.764
#!ERROR [LDAP: error code 68 - failed to add entry cn=HMS
Lydia,ou=crews,ou=groups,o=sevenSeas: 2.5.4.3=hms
lydia,2.5.4.11=crews,2.5.4.11=groups,2.5.4.10=sevenseas already
exists!]
dn: cn=HMS Lydia,ou=crews,ou=groups,o=sevenSeas
objectclass: groupOfUniqueNames
objectclass: top
cn: HMS Lydia
uniquemember: cn=Horatio Hornblower,ou=people,o=sevenSeas
uniquemember: cn=William Bush,ou=people,o=sevenSeas
uniquemember: cn=Thomas Quist,ou=people,o=sevenSeas
uniquemember: cn=Moultrie Crystal,ou=people,o=sevenSeas

# HMS Victory Crew
# ----------------

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.785
#!ERROR [LDAP: error code 68 - failed to add entry cn=Horatio
Nelson,ou=people,o=sevenSeas: 2.5.4.3=horatio
nelson,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=Horatio Nelson,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: Horatio Nelson
description: Lord Horatio Nelson
givenname: Horatio
sn: Nelson
uid: hnelson
mail: hnelson@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.805
#!ERROR [LDAP: error code 68 - failed to add entry cn=Thomas Masterman
Hardy,ou=people,o=sevenSeas: 2.5.4.3=thomas masterman
hardy,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=Thomas Masterman Hardy,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: Thomas Masterman Hardy
description: Sir Thomas Masterman Hardy
givenname: Thomas
manager: cn=Horatio Nelson,ou=people,o=sevenSeas
sn: Hardy
uid: thardy
mail: thardy@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.828
#!ERROR [LDAP: error code 68 - failed to add entry cn=Cornelius
Buckley,ou=people,o=sevenSeas: 2.5.4.3=cornelius
buckley,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=Cornelius Buckley,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: Cornelius Buckley
description: LM Cornelius Buckley
givenname: Cornelius
manager: cn=Horatio Nelson,ou=people,o=sevenSeas
sn: Buckley
uid: cbuckley
mail: cbuckley@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.847
#!ERROR [LDAP: error code 68 - failed to add entry cn=HMS
Victory,ou=crews,ou=groups,o=sevenSeas: 2.5.4.3=hms
victory,2.5.4.11=crews,2.5.4.11=groups,2.5.4.10=sevenseas already
exists!]
dn: cn=HMS Victory,ou=crews,ou=groups,o=sevenSeas
objectclass: groupOfUniqueNames
objectclass: top
cn: HMS Victory
uniquemember: cn=Horatio Nelson,ou=people,o=sevenSeas
uniquemember: cn=Thomas Masterman Hardy,ou=people,o=sevenSeas
uniquemember: cn=Cornelius Buckley,ou=people,o=sevenSeas

# HMS Bounty Crew
# ---------------

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.871
#!ERROR [LDAP: error code 68 - failed to add entry cn=William
Bligh,ou=people,o=sevenSeas: 2.5.4.3=william
bligh,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=William Bligh,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: William Bligh
description: Captain William Bligh
givenname: William
sn: Bligh
uid: wbligh
mail: wbligh@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.902
#!ERROR [LDAP: error code 68 - failed to add entry cn=Fletcher
Christian,ou=people,o=sevenSeas: 2.5.4.3=fletcher
christian,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=Fletcher Christian,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: Fletcher Christian
description: Lieutenant Fletcher Christian
givenname: Fletcher
manager: cn=William Bligh,ou=people,o=sevenSeas
sn: Christian
uid: fchristi
mail: fchristi@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.934
#!ERROR [LDAP: error code 68 - failed to add entry cn=John
Fryer,ou=people,o=sevenSeas: 2.5.4.3=john
fryer,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=John Fryer,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: John Fryer
description: Master John Fryer
givenname: John
manager: cn=William Bligh,ou=people,o=sevenSeas
sn: Fryer
uid: jfryer
mail: jfryer@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.961
#!ERROR [LDAP: error code 68 - failed to add entry cn=John
Hallett,ou=people,o=sevenSeas: 2.5.4.3=john
hallett,2.5.4.11=people,2.5.4.10=sevenseas already exists!]
dn: cn=John Hallett,ou=people,o=sevenSeas
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
cn: John Hallett
description: Midshipman John Hallett
givenname: John
manager: cn=William Bligh,ou=people,o=sevenSeas
sn: Hallett
uid: jhallett
mail: jhallett@royalnavy.mod.uk
userpassword: {SHA}nU4eI71bcnBGqeO0t9tXvY1u5oQ=

#!RESULT ERROR
#!CONNECTION ldap://10.200.2.10:10389
#!DATE 2007-05-08T19:43:01.986
#!ERROR [LDAP: error code 68 - failed to add entry cn=HMS
Bounty,ou=crews,ou=groups,o=sevenSeas: 2.5.4.3=hms
bounty,2.5.4.11=crews,2.5.4.11=groups,2.5.4.10=sevenseas already
exists!]
dn: cn=HMS Bounty,ou=crews,ou=groups,o=sevenSeas
objectclass: groupOfUniqueNames
objectclass: top
cn: HMS Bounty
uniquemember: cn=William Bligh,ou=people,o=sevenSeas
uniquemember: cn=Fletcher Christian,ou=people,o=sevenSeas
uniquemember: cn=John Fryer,ou=people,o=sevenSeas
uniquemember: cn=John Hallett,ou=people,o=sevenSeas

Mime
View raw message