Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request for LDIF file related to the example #19

Open
kedar2498git opened this issue Aug 24, 2017 · 3 comments
Open

request for LDIF file related to the example #19

kedar2498git opened this issue Aug 24, 2017 · 3 comments

Comments

@kedar2498git
Copy link

Hi, Can you please attach LDIF as well? I am not able to create exact directory structure described in above example. I am using Apache Directory Studio for LDAP server. It will be a great help if you can post the LDIF, I can import it in my server and will try running this python script. Thanks in advance for your help.

@whitlockjc
Copy link
Owner

There are no examples so I'm unsure what you're asking for. When I tested this, I tested with AD and OpenDirectory.

@kedar2498git
Copy link
Author

users_groups.txt
Hi, I am requesting LDIF corresponding to example mentioned in Code section. In "The Implementation" section, it explains the directory structure including 'Release Managers', 'Developers' and 'Administrators'.

I am running python script against attached LDIF but getting below output in svn_auth.txt which I do not think is the correct one. So I was requesting LDIF of your example.
[groups]

### Start generated content: LDAP Groups to Subversion Authz Groups Bridge (2017/08/24 07:39:19) ###
cn_sssd_qns =
cn_sssd_pb =
Admin = @cn_sssd_pb, @cn_sssd_qns

################################################################################
###########   LDAP Groups to Subversion Authz Groups Bridge (Legend)  ##########
################################################################################
### cn_sssd_qns = uid=sssd_qns,cn=Admin,ou=groups,dc=sprint,dc=com
### cn_sssd_pb = uid=sssd_pb,cn=Admin,ou=groups,dc=sprint,dc=com
### Admin = cn=Admin,ou=groups,dc=sprint,dc=com
################################################################################

### End generated content: LDAP Groups to Subversion Authz Groups Bridge ###  

@kedar2498git
Copy link
Author

Hi @whitlockjc , Could you please guide me in fixing python script for attached users_groups.txt (in earlier comment)?
I am expecting below contents in generated file
[groups]
Admin = @cn_sssd_pb, @cn_sssd_qns
but getting below one
[groups]
cn_sssd_qns =
cn_sssd_pb =
Admin = @cn_sssd_pb, @cn_sssd_qns
I also tried changing LDAP scope from SUBTREE to ONELEVEL/BASE but none of these options got rid of 'cn_sssd_qns =' and 'cn_sssd_pb=' entries

It will be great help if you can suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants