whitlockjc / sync-ldap-groups-to-svn-authz

Simple Python script that can take your LDAP group definitions and create a Subversion authz file equivalent.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anonymous bind is broken

justinmassiot opened this issue · comments

(Imported from https://github.com/dr4Ke/ldap-to-svn-authz/issues/4)

With commit 05bfe09 (merged by 630e7cd), I no longer can bind my LDAP server anonymously. If I replace back "ldapobject.bind_s" to "ldapobject.bind" everything goes well.
Is it a real need to "Bind to LDAP server synchronously"?

Idea: try with synchronous bind ldapobject.bind_s, then fallback to standard connection ldapobject.bind .