|
From: Michael <mi...@st...> - 2001-10-19 13:39:04
|
Konstantin Chuguev wrote: > > Michael Ströder wrote: > > > Michael Ströder wrote: > > > > > BTW: I think python-ldap should expose the following constants: > > > > LDAP_API_VERSION > > LDAP_VENDOR_NAME > > LDAP_VENDOR_VERSION > > > > It's not quite clear, because python-ldap is itself an API :-) Obviously you're right. ;-) > Maybe LDAP_C_API_VERSION or simpler: LDAP_C_API_NAME. > Currently supported versions are OPENLDAP_1 and OPENLDAP_2... But I'd really like to have a more fine-grained versioning. How about: C_API_VENDOR_NAME C_API_VENDOR_VERSION Since the OpenLDAP 2 API seems to be the only one coming with such constants we have no problems following their naming and versioning scheme and setting values to reasonable defaults in case of OpenLDAP 1. Ciao, Michael. |