[Date Prev][Date Next] [Chronological] [Thread] [Top]

Referrals or links



Some one knows if is posible fetch and search/resolve the referrals in
the server side?

I found that the referral may be in a lop playing with short bases; for
example:

bin/ldapsearch -C -L -H "ldap://arcos.cti.unav.es/"; -b
"o=alumni,dc=unav,dc=es" "cn=cris*"
works fine: the server arcos (dc=unav,dc=es) returns a referral to an
other server raid (o=alumni,dc=unav,dc=es) and fetch the data well...

BUT,
bin/ldapsearch -C -L -H "ldap://arcos.cti.unav.es/"; -b "dc=unav,dc=es"
"cn=cris*"
keeps in a loop because other bases in raid (o=xxx,dc=unav,dc=es)
returns a default referral to server arcos (dc=unav,dc=es)

so  is very simple write script with a wrong base and keeps the server
in a loop...

Any help?

Arcos only contains:
--
dn: dc=unav, dc=es
dc: unav
objectClass: dcObject
objectClass: organization
o: Universidad de Navarra

dn: o=alumni, dc=unav, dc=es
objectClass: referral
objectClass: extensibleObject
o: alumni
ref: ldap://raid.cti.unav.es:8000/o=alumni,dc=unav,dc=es

dn: o=people, dc=unav, dc=es
objectClass: referral
objectClass: extensibleObject
o: people
ref: ldap://raid.cti.unav.es:8000/o=people,dc=unav,dc=es

dn: o=webSpaces,dc=unav,dc=es
objectClass: referral
objectClass: extensibleObject
o: webSpaces
ref: ldap://raid.cti.unav.es:8000/o=webSpace,dc=unav,dc=es

dn: o=smb,dc=unav,dc=es
objectClass: referral
objectClass: extensibleObject
o: smb
ref: ldap://raid.cti.unav.es:8000/o=smb,dc=unav,dc=es
--

____________________________________________________
Ignacio Coupeau, Ph.D.     e-mail: icoupeau@unav.es
CTI, Director              fax:    948 425619
University of Navarra      voice:  948 425600
Pamplona, SPAIN            http://www.unav.es/cti/