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

Re: Chasing referrals.



D. Carroll disse:
> Hello,
>
> 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.
>
> -D

-- 
Luca Scamoni - e-mail: luca.scamoni@sys-net.it
SysNet snc - Via Dossi, 8 - 27100 Pavia Italy
IT Senior Consultant - mobile: +393471014425




    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497