First thing : DON'T CROSS POST !!!
It's a user problem, not a dev problem. Le 24/08/2017 à 00:23, kedar sirshikar a écrit : > Hi Teams, > I am working to run 1 python script explained at > https://github.com/whitlockjc/sync-ldap-groups-to-svn-authz > <https://github.com/whitlockjc/sync-ldap-groups-to-svn-authz>. > Basically this python script will run on LDAP server and generate a file > containing all groups with corresponding users from that group. > > I want to generate similar(if not exact) directory tree in Apache DS so that > I can run this python script against it. > > I have attached my current LDIF file below. I am referring to > ‘dc=sprint,dc=com’ partition. The ldif file didn't make it, and was stripped away by the anti-spam system. > > After running the python script, I am getting below error > sync_ldap_groups_to_svn_authz.py -d uid=admin,ou=system -b > cn=Admin,ou=groups,dc=sprint,dc=com -p secret -l > ldaps://ldap_l.cisco.com:10648/ -g objectClass=* > svn_auth.txt > [WARNING]: subgroup not in search scope: > uid=sssd_pb,ou=users,dc=sprint,dc=com. This means you won't have all members > in the SVN group: Admin. Accordingly to the script code, the part of the tree it is looking for groups is given by the '-b' parameter, which is 'cn=Admin,ou=groups,dc=sprint,dc=com'. That sounds weird, I would rather use '-b ou=groups,dc=sprint,dc=co', but I don't know what your LDAP base structure is. Bottom line, I'm truly sorry, but your question fall into the 'Don't post homework questions' (http://www.catb.org/esr/faqs/smart-questions.html#homework) and it's absolutely not related to ApacheDS. I strongly suggest you first learn a bit about LDAP before asking us about how to solve your problem. Thaks ! -- Emmanuel Lecharny Symas.com directory.apache.org