[python-ldap] Can't get a more specific exception when binding to LDAP server

Mihai Tabara mihait.upb at gmail.com
Wed Oct 31 07:22:38 CET 2012


On Mon, Oct 29, 2012 at 8:46 PM, Michael Ströder <michael at stroeder.com>wrote:

> Mihai Tabara wrote:
> > On Fri, Oct 26, 2012 at 8:26 PM, Michael Ströder <michael at stroeder.com
> > <mailto:michael at stroeder.com>> wrote:
> >
> >     Using -e ppolicy with OpenLDAP command-line tool sends the password
> policy
> >     control along with the (simple) bind request.
> >
> >     Check out Demo/pyasn1/ppolicy.py in recent python-ldap source
> distribution to
> >     learn how to do that with python-ldap 2.4.6+.
> >
> > I have found the indicated script, within full-explanation about the
> password
> > policy control, but, unfortunately I am still unable to get what I want.
>
> It means that response controls cannot be received by the application if
> the
> resultCode is not 0. This is a serious deficiency of the current
> implementations. C coders want to fix that
>
>
Looking forward for it :)
Thanks again for your answer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20121031/3b8b3e87/attachment.html>


More information about the python-ldap mailing list