[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#5313) Referral error
reinaldoc@gmail.com wrote:
> Full_Name: Reinaldo de Carvalho
> Version: 2.3.30
> OS: Debian DNU/Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (201.72.201.200)
>
>
> #cat ref.ldif
> dn: ou=domain1,o=Museu Goeldi
> objectClass: referral
> objectClass: extensibleObject
> ref: ldap://10.0.0.2/ou=domain1,o=Museu Goeldi
> ou: domain1
>
> # ldapadd -x -D "cn=admin,o=Museu Goeldi" -w xxxxx -f ref.ldif
> adding new entry "ou=domain1,o=Museu Goeldi"
>
> # ldapsearch -x -b "o=Museu Goeldi" -LLL 'ref=*'
> # refldap://10.0.0.2/ou=domain1,o=Museu??sub
>
> OpenLdap return erroneous referral ou=domain1,o=Museu??sub
Please read the specifications of the "ref" attribute. Its value is
treated as an LDAP URI, optionally followed by a label; an LDAP URI,
like all URIs, does not allow spaces, which must be escaped using "%20".
Please fix your data.
This ITS will be closed.
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati@sys-net.it
---------------------------------------