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

Not able to retrieve nested groups/DLs (all DLs inside a DL)

mneeharika opened this issue · comments

I'm facing an issue while retrieving all the groups (nested DLS) from the parent DL (CN=ABC,OU=Users-DistributionGroups,DC=mycompany,DC=com).

When executing the script, all the nested DLs as shown in the warnings as below -

[WARNING]: subgroup not in search scope: CN=Sub-of-ABC,OU=Users-DistributionGroups,DC=mycomany,DC=com. This means you won't have all members in the SVN group: ABC.

How do I get all the groups inside a group (nested DLs of a DL) using this script? I was not able to retrieve complete DLs in my Org, because of the size limit errors (Error performing search: {'desc': 'Size limit exceeded'}).