[python-ldap] Error with expiring accounts

Michael Ströder michael at stroeder.com
Tue Mar 4 19:48:15 CET 2014

Polkosnik, Adam wrote:
> I've set up LDAP for some webapp, and I get this error:
> LDAP Auth error: Received unexpected critical response control with controlType '2.16.840.1.113730.3.4.5'

Normally this should be handled automagically since this OID gets registered
for class PasswordExpiringControl in ldap.control.KNOWN_RESPONSE_CONTROLS
which is used as default in DecodeControlTuples().

Is the calling application mucking with key-word argument resp_ctrl_classes
when invoking LDAPObject.result3() or LDAPObject.result4()?

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2398 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20140304/2dc4dad0/attachment.bin>

More information about the python-ldap mailing list