https://bugs.openldap.org/show_bug.cgi?id=9824
Issue ID: 9824 Summary: getting/setting LDAP_OPT_X_SASL_ options require call to ldap_initialize Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: documentation Assignee: bugs@openldap.org Reporter: jay.hendren@colorado.edu Target Milestone: ---
Originally filed against python-ldap: https://github.com/python-ldap/python-ldap/issues/468
Per "man 3 ldap_get_option", some options can be set globally while others require an initialized LDAP struct:
These routines provide access to options stored either in a LDAP handle or as global options, where applicable.
However, "where applicable" doesn't seem to have any further clarification. In particular, getting or setting any of the "LDAP_OPT_X_SASL_" options appears to require an initialized LDAP struct, as noted in the bug report against python-ldap, whereas most other options do not appear to share this requirement. I cannot find this fact documented anywhere.
https://bugs.openldap.org/show_bug.cgi?id=9824
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.5.13 Keywords|needs_review |
https://bugs.openldap.org/show_bug.cgi?id=9824
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |ondra@mistotebe.net
https://bugs.openldap.org/show_bug.cgi?id=9824
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- head:
• 475431aa by Ondřej Kuzník at 2022-05-17T14:27:04+00:00 ITS#9824 Document SASL related ldap_get/set_option restrictions
RE26:
• d71f6d66 by Ondřej Kuzník at 2022-05-19T15:34:38+00:00 ITS#9824 Document SASL related ldap_get/set_option restrictions
RE25:
• 124ac7ea by Ondřej Kuzník at 2022-05-19T15:45:18+00:00 ITS#9824 Document SASL related ldap_get/set_option restrictions
https://bugs.openldap.org/show_bug.cgi?id=9824
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED