https://bugs.openldap.org/show_bug.cgi?id=10017
Issue ID: 10017 Summary: ldap.conf setting "BINDDN" has no associated LDAP_OPT_XXX constant for ldap_get_opt ldap_set_opt Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: libraries Assignee: bugs@openldap.org Reporter: sean@teletech.com.au Target Milestone: ---
The Configuration file setting "BINDDN" has no associated LDAP_OPT_XXX constant and is not exposed to the ldap_get_opt / ldap_set_opt API. This is the only option that is not so accessible and this seems like an oversight.
Option "PORT" is also not exposed but that is deprecated. You could make the case it shouldn't be.
This setting could obviously be of interest to the Application and I see no reason for it to be hidden.
Simple applications / tools may not have their own configuration files and instead rely solely of the ldap.conf file to configure openldap. Such an application could not easy supply a DN to the "bind" calls but may still wish to know the value specified in the configuration file.
https://bugs.openldap.org/show_bug.cgi?id=10017
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Howard Chu hyc@openldap.org --- Note that BINDDN is only valid in an .ldaprc file, not ldap.conf. I.e., it is a user-only setting and not valid in any systemwide ldap.conf file.
If any "simple application" isn't providing its own config files, then none of this is relevant or useful anyway.
Closing this ticket.
https://bugs.openldap.org/show_bug.cgi?id=10017
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED Keywords|needs_review |