I note that there is a default REFHOPLIMIT defined in ldap-int.h and a refhoplimit field in the ldap options structure. But there is no option defined to change it via ldap_set_option(). Seems like a 26 year oversight. Should that be added for 2.7?
On Thu, Jun 12, 2025 at 03:39:06PM +0100, Howard Chu wrote:
I note that there is a default REFHOPLIMIT defined in ldap-int.h and a refhoplimit field in the ldap options structure. But there is no option defined to change it via ldap_set_option(). Seems like a 26 year oversight. Should that be added for 2.7?
There is a LDAP_OPT_REFHOPLIMIT in ldap.h and a commented out entry in the manpage. But yeah, it seems like it fell of the wagon at some point and since then noone actually needed it.
Assuming this works "as advertised", yes, I think that's a good idea.