Detecting underlying LDAP lib
Michael Ströder
michael at stroeder.com
Fri Oct 19 14:37:19 CEST 2001
Michael Ströder wrote:
>
> Art Vossberg wrote:
> > [..]
> > Traceback (most recent call last):
> > [..]
> > NameError: cannot set that field
> > [..]
> > Obviously, most of this data is environmental data, but the last several
> > lines indicate a setoption or __setattr__ problem.
>
> FYI: With web2ldap I already try to handle differences of
> python-ldap built against different versions of the OpenLDAP libs.
BTW: I think python-ldap should expose the following constants:
LDAP_API_VERSION
LDAP_VENDOR_NAME
LDAP_VENDOR_VERSION
This would make it possible that an application can check more
precise the API vendor and version.
Other constants might be interesting as well:
LDAP_API_FEATURE_*
Ciao, Michael.
More information about the python-ldap
mailing list