Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lukas However
OpenLDAP
Commits
68a19248
Commit
68a19248
authored
Aug 01, 2006
by
Quanah Gibson-Mount
Browse files
Use "attrs=" instead of deprecated "attr="
parent
bd0ef50f
Changes
7
Hide whitespace changes
Inline
Side-by-side
tests/data/slapd-acl.conf
View file @
68a19248
...
...
@@ -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
=
""
attr
s
=
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 attr
s
=objectclass dn.subtree="dc=example,dc=com"
access
to
attr
s
=
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)" attr
s
=userpassword dn.subtree="dc=example,dc=com"
access
to
filter
=
"(objectclass=person)"
attr
s
=
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 attr
s
=member,uniquemember dn.subtree="dc=example,dc=com"
access
to
attr
s
=
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 attr
s
=member,uniquemember filter="(mail=*com)" dn.subtree="dc=example,dc=com"
access
to
attr
s
=
member
,
uniquemember
filter
=
"(mail=*com)"
by
*
read
#access to filter="(|(objectclass=groupofnames)(objectClass=groupofuniquenames))" dn.subtree="dc=example,dc=com"
...
...
tests/data/slapd-ldapglue.conf
View file @
68a19248
...
...
@@ -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
attr
s
=
userpassword
by
self
=
wx
by
anonymous
=
x
...
...
tests/data/slapd-ldapgluegroups.conf
View file @
68a19248
...
...
@@ -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
attr
s
=
userpassword
by
self
=
wx
by
anonymous
=
x
...
...
tests/data/slapd-ldapgluepeople.conf
View file @
68a19248
...
...
@@ -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
attr
s
=
userpassword
by
dn
.
exact
=
"uid=proxy,ou=People,dc=example,dc=com"
read
by
self
=
wx
by
anonymous
=
x
...
...
tests/data/slapd-ppolicy.conf
View file @
68a19248
...
...
@@ -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
attr
s
=
userpassword
by
self
write
by
*
auth
...
...
tests/data/slapd-pw.conf
View file @
68a19248
...
...
@@ -49,7 +49,7 @@ rootpw secret
# cn=monitor, cn=schema, and cn=config
#
access
to
attr
=
userpassword
access
to
attr
s
=
userpassword
by
anonymous
auth
by
self
write
...
...
tests/data/slapd-whoami.conf
View file @
68a19248
...
...
@@ -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
attr
s
=
authzFrom
,
authzTo
by
*
auth
access
to
attr
=
userpassword
access
to
attr
s
=
userpassword
by
anonymous
auth
by
self
write
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment