
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
| |
Size |
|
bryan.ldif |
2006-07-31 07:52 PM |
Stefan Zoerner |
0.2 kB |
|
|
Environment:
|
ApacheDS 1.0 RC 3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Microsoft Windows XP version 5.1 Service Pack 1
ApacheDS 1.0 RC 3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Microsoft Windows XP version 5.1 Service Pack 1
|
|
| Resolution Date: |
30/Jul/06 05:10 PM
|
|
If I import an entry like this (e.g. ldapadd tool):
dn: cn=Bryan Ferry,dc=example,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
givenname: Bryan
sn: Ferry
cn: Bryan Ferry
the data is stored to an entry with attribute "gn", not "givenname":
dn: cn=Bryan Ferry,dc=example,dc=com
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
gn: Bryan
sn: Ferry
cn: Bryan Ferry
It can't be found with a search like this
$ ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -s sub "(givenName=Bryan)".
It is found via this search, but the attribute is missing in the result.
$ ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -s sub "(givenname=Bryan)" givenname
version: 1
dn: cn=Bryan Ferry,dc=example,dc=com
Note that it is important whether I use "givenName" or "givenname" -- they behave different.
|
|
Description
|
If I import an entry like this (e.g. ldapadd tool):
dn: cn=Bryan Ferry,dc=example,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
givenname: Bryan
sn: Ferry
cn: Bryan Ferry
the data is stored to an entry with attribute "gn", not "givenname":
dn: cn=Bryan Ferry,dc=example,dc=com
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: top
gn: Bryan
sn: Ferry
cn: Bryan Ferry
It can't be found with a search like this
$ ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -s sub "(givenName=Bryan)".
It is found via this search, but the attribute is missing in the result.
$ ldapsearch -h localhost -p 10389 -b "dc=example,dc=com" -s sub "(givenname=Bryan)" givenname
version: 1
dn: cn=Bryan Ferry,dc=example,dc=com
Note that it is important whether I use "givenName" or "givenname" -- they behave different.
|
Show » |
| There are no subversion log entries for this issue yet.
|
|