Fixed sasl-regexp for CentOS 6 OpenLDAP.
This commit is contained in:
parent
b826e5d54c
commit
eaa42c7398
1 changed files with 2 additions and 2 deletions
|
@ -58,9 +58,9 @@ include <%= scope.lookupvar('ldap::server::config') %>/slapd.conf.d/acl.<%= nam
|
|||
include <%= scope.lookupvar('ldap::server::config') %>/slapd.conf.d/index.<%= name %>.conf
|
||||
|
||||
# map local users connecting via ldapi:///
|
||||
sasl-regexp "gidNumber=([\d]+)+uidNumber=0,cn=peercred,cn=external,cn=auth"
|
||||
sasl-regexp "gidNumber=([^,]+)+uidNumber=0,cn=peercred,cn=external,cn=auth"
|
||||
"cn=manager,<%= name %>"
|
||||
sasl-regexp "gidNumber=([\d]+)+uidNumber=([\d]+),cn=peercred,cn=external,cn=auth"
|
||||
sasl-regexp "gidNumber=([^,]+)+uidNumber=([^,]+),cn=peercred,cn=external,cn=auth"
|
||||
ldap:///<%= name %>??sub?(&(uidNumber=$2)(objectClass=posixAccount))
|
||||
|
||||
# map sasl authenticated users
|
||||
|
|
Loading…
Add table
Reference in a new issue