Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LDAP>
- # LDAP server URL
- URL ldap://127.0.0.1
- # Bind DN (If your LDAP server doesn't support anonymous binds)
- BindDN cn=admin,dc=*name*,dc=de
- # Bind Password
- Password *password*
- # Network timeout (in seconds)
- Timeout 15
- </LDAP>
- <Authorization>
- # Base DN
- BaseDN "ou=users,dc=*name*,dc=de"
- # User Search Filter
- SearchFilter "(&(uid=%u)(accountStatus=active))"
- # Require Group Membership
- RequireGroup true
- <Group>
- BaseDN "ou=groups,dc=*name*,dc=de"
- SearchFilter "(|(cn=openvpn))"
- MemberAttribute uniqueMember
- </Group>
- </Authorization>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement