configure authz mappings for gssapi authenticated users
This commit is contained in:
parent
1979925f7e
commit
11e4a82a35
1 changed files with 5 additions and 0 deletions
|
@ -94,10 +94,15 @@ authz-regexp
|
||||||
authz-regexp
|
authz-regexp
|
||||||
"gidNumber=([0-9]\+)\\\+uidNumber=([0-9]\+),cn=peercred,cn=external,cn=auth"
|
"gidNumber=([0-9]\+)\\\+uidNumber=([0-9]\+),cn=peercred,cn=external,cn=auth"
|
||||||
"ldap:///{{ ldap_basedn }}??sub?(&(uidNumber=$2)(objectClass=posixAccount))"
|
"ldap:///{{ ldap_basedn }}??sub?(&(uidNumber=$2)(objectClass=posixAccount))"
|
||||||
|
# map kerberos users
|
||||||
|
authz-regexp
|
||||||
|
"uid=([^,]\+),cn=gssapi,cn=auth"
|
||||||
|
"ldap:///{{ ldap_basedn }}??sub?(&(uid=$1)(objectClass=posixAccount))"
|
||||||
|
|
||||||
# require authentication for authenticated users that don't match above
|
# require authentication for authenticated users that don't match above
|
||||||
access to *
|
access to *
|
||||||
by dn.children="cn=peercred,cn=external,cn=auth" auth
|
by dn.children="cn=peercred,cn=external,cn=auth" auth
|
||||||
|
by dn.children="cn=gssapi,cn=auth" auth
|
||||||
by anonymous auth
|
by anonymous auth
|
||||||
by * break
|
by * break
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue