Commit 68a19248 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Use "attrs=" instead of deprecated "attr="

parent bd0ef50f
......@@ -27,7 +27,7 @@ argsfile @TESTDIR@/slapd.1.args
# normal installations should protect root dse, cn=monitor, cn=subschema
#
access to dn.exact="" attr=objectClass
access to dn.exact="" attrs=objectClass
by users read
access to *
by * read
......@@ -54,12 +54,12 @@ rootpw secret
#ldbm#index objectClass eq
#ldbm#index cn,sn,uid pres,eq,sub
#access to attr=objectclass dn.subtree="dc=example,dc=com"
access to attr=objectclass
#access to attrs=objectclass dn.subtree="dc=example,dc=com"
access to attrs=objectclass
by * =rsc stop
#access to filter="(objectclass=person)" attr=userpassword dn.subtree="dc=example,dc=com"
access to filter="(objectclass=person)" attr=userpassword
#access to filter="(objectclass=person)" attrs=userpassword dn.subtree="dc=example,dc=com"
access to filter="(objectclass=person)" attrs=userpassword
by anonymous auth
by self =wx
......@@ -69,15 +69,15 @@ access to dn.children="ou=Alumni Association,ou=People,dc=example,dc=com"
by dn.children="dc=example,dc=com" +d continue
by * stop
#access to attr=member,uniquemember dn.subtree="dc=example,dc=com"
access to attr=member,uniquemember
#access to attrs=member,uniquemember dn.subtree="dc=example,dc=com"
access to attrs=member,uniquemember
by dn.exact="cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com" selfwrite
by dnattr=member selfwrite
by dnattr=uniquemember selfwrite
by * read
#access to attr=member,uniquemember filter="(mail=*com)" dn.subtree="dc=example,dc=com"
access to attr=member,uniquemember filter="(mail=*com)"
#access to attrs=member,uniquemember filter="(mail=*com)" dn.subtree="dc=example,dc=com"
access to attrs=member,uniquemember filter="(mail=*com)"
by * read
#access to filter="(|(objectclass=groupofnames)(objectClass=groupofuniquenames))" dn.subtree="dc=example,dc=com"
......
......@@ -41,7 +41,7 @@ authz-regexp "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
# cn=monitor, cn=schema, and cn=config
#
access to attr=userpassword
access to attrs=userpassword
by self =wx
by anonymous =x
......
......@@ -40,7 +40,7 @@ authz-regexp "^uid=([^,]+),.*" "uid=$1,ou=Groups,dc=example,dc=com"
# cn=monitor, cn=schema, and cn=config
#
access to attr=userpassword
access to attrs=userpassword
by self =wx
by anonymous =x
......
......@@ -40,7 +40,7 @@ authz-regexp "^uid=([^,]+),.*" "uid=$1,ou=People,dc=example,dc=com"
# cn=monitor, cn=schema, and cn=config
#
access to attr=userpassword
access to attrs=userpassword
by dn.exact="uid=proxy,ou=People,dc=example,dc=com" read
by self =wx
by anonymous =x
......
......@@ -45,7 +45,7 @@ overlay ppolicy
ppolicy_default "cn=Standard Policy,ou=Policies,dc=example,dc=com"
ppolicy_use_lockout
access to attr=userpassword
access to attrs=userpassword
by self write
by * auth
......
......@@ -49,7 +49,7 @@ rootpw secret
# cn=monitor, cn=schema, and cn=config
#
access to attr=userpassword
access to attrs=userpassword
by anonymous auth
by self write
......
......@@ -40,10 +40,10 @@ authz-regexp "^uid=([^,]+),.*" "ldap:///dc=example,dc=com??sub?uid=$1"
# cn=monitor, cn=schema, and cn=config
#
access to attr=authzFrom,authzTo
access to attrs=authzFrom,authzTo
by * auth
access to attr=userpassword
access to attrs=userpassword
by anonymous auth
by self write
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment