inejge / ldap3

A pure-Rust LDAP library using the Tokio stack
Apache License 2.0
220 stars 38 forks source link

[Question] OPT_REFERRALS #95

Closed Dzordzu closed 1 year ago

Dzordzu commented 1 year ago

How to enable option that is similar to the OPT_REFERRALS in the python libraries?

inejge commented 1 year ago

You can't, since there is no referral chasing support in the library, and I don't plan to add it. Referral chasing is woefully underspecified, especially regarding the security properties of further connections, and IMO is best handled through environment-specific code.

The adapter framework supplied by the crate should be sufficient to implement referral chasing, and I'm interested in any deficiencies encountered in such an implementation, but I'm not going to write it myself.