[Freeipa-devel] [PATCH] 823 ipaldap: raise DatabaseError on unbind if disconnected
Petr Vobornik
pvoborni at redhat.com
Thu Apr 23 10:24:12 UTC 2015
If unbind was called when disconnected it raised:
AttributeError: 'NoneType' object has no attribute 'unbind_s'
AttributeError is not a public error and therefore it prevented
ldap2.destroy_connection() to be called multiple times.
fixes:
https://fedorahosted.org/freeipa/ticket/4991
Note: this issue also prevented rpcserver.change_password from working.
Therefore I think that there might have been an error in recent ipaldap
refactoring and if #4991 was not run on master then there might have
been other issue, which probably have been fixed by the refactoring.
--
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0823-ipaldap-raise-DatabaseError-on-unbind-if-disconnecte.patch
Type: text/x-patch
Size: 1240 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150423/21c2400e/attachment.bin>
More information about the Freeipa-devel
mailing list