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

Mismatch/misunderstanding of LDAP_OPT_REFERRALS and LDAP_OPT_DEREF



Looking at http://www.openldap.org/devel/cvsweb.cgi/~checkout~/doc/drafts/draft-ietf-ldapext-ldap-c-api-xx.txt,
it seem to me that one of them is redundant...

If you set LDAP_OPT_REFERRALS=LDAP_OPT_OFF, then what's the point
of LDAP_OPT_DEREF? Likewise, if you set LDAP_OPT_DEREF=LDAP_DEREF_{NEVER,SEARCHING,FINDING,ALWAYS},
then what's the point of LDAP_OPT_REFERRALS? Seems they are mutually
exclusive...

Please enlighten me...