[Date Prev][Date Next]
Re: Chasing referrals.
D. Carroll disse:
> I'm using the openldap api's to work on an apache auth module. I wonder
> if it is possible to stop chasing a referral? I'm not convinced this is
> a clever thing to do but the client has asked for it so I have to
> consider it.
It's possible and usually is default behaviour (ldapsearch, for example)
> Is it possible to set up the LDAP connection such that searches *dont*
> follow referrals? It this a stupid thing to do?
Yes using ldap_set_option (take a look at client/tools/common.c). No.
Luca Scamoni - e-mail: email@example.com
SysNet snc - Via Dossi, 8 - 27100 Pavia Italy
IT Senior Consultant - mobile: +393471014425
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497