justinmassiot
10/18/2016 - 8:55 AM

Patch for sync_ldap_groups_to_svn_authz.py

Patch over the sync_ldap_groups_to_svn_authz.py script https://github.com/whitlockjc/sync-ldap-groups-to-svn-authz

--- sync_ldap_groups_to_svn_authz.py	lun. août 10 17:09:56 2015
+++ sync_ldap_groups_to_svn_authz.py	jeu. août 13 15:30:36 2015
@@ -109 +109 @@ def bind():
-  ldapobject.bind_s(bind_dn, bind_password)
+  ldapobject.bind(bind_dn, bind_password)
@@ -191 +191 @@ def get_members_from_group(group, ldapobject):
-      user = get_ldap_search_resultset(member, user_query, ldapobject)
+      user = get_ldap_search_resultset(base_dn, "uid=" + member, ldapobject)