Can you please add the following patch, which fixes a segmentation fault bug, if using SASL bind? https://github.com/msimacek/pyldap/commit/afcb7a8e581af34080d7ccfbfa4c1a64e25b0166 I have tested the patch and it works perfectly. Reproducible: Always Steps to Reproduce: 1. Using SASL/EXTERNAL leads to a seg fault 2. 3. Expected Results: Working LDAP authentication with SASL Adding the patch fixes the bug.
commit 1009299d11d10c0610e698fa5b6dd8dad63d5acb Author: Justin Lecher <jlec@gentoo.org> Date: Wed Oct 14 16:05:34 2015 +0200 dev-python/pyldap: Backport patch for bytes/string conversion problem Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562854 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1009299d11d10c0610e698fa5b6dd8dad63d5acb