1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-22 04:40:03 +01:00

misc role

This commit is contained in:
kakwa 2015-05-16 19:15:40 +02:00
parent 6289f62c6c
commit 991f8ee72d

View File

@ -18,3 +18,11 @@ class CustomDumper(yaml.SafeDumper):
inv = Roles('./conf/roles.yml')
print
print inv.dump_nest()
groups = {
'ad' : ['Domain Users', 'Domain Users 2'],
'ldap': ['cn=users,ou=group,dc=example,dc=com']
}
print inv.get_roles(groups)