I'm trying to grant certain accounts auth access to their authzTo
attribute in order to allow proxied authorization.
I tried adding this ldif:
dn: olcDatabase={-1}frontend,cn=config
changetype: modify
add: olcAccess
olcAccess: {1}to authzTo by dn.children="ou=Special Accounts,dc=example,dc=com" auth
-
using the command ldapadd -f perm.ldif -D "cn=admin,cn=config" -W
but got this error:
modifying entry "olcDatabase={-1}frontend,cn=config"
ldap_modify: Other (e.g., implementation specific) error (80)
additional info: <olcAccess> handler exited with 1
using verbose output and turning up the debug level haven't given me any more clues. Can anyone see what I'm doing wrong?
Realized what I was doing dumb after working on some other permissions. It should be
attrs=authzTo
, not justauthzTo
by itself. And what I really wanted wasEDIT: OP explicitly asked about 'auth', not 'write' access, so this answer is not very relevant.
I realize that I'm 8 years late for this question, but I think that it needs to be noted that it's a bad idea to permit write access to own authzTo attribute.
(quote from https://www.linuxtopia.org/online_books/network_administration_guides/ldap_administration/sasl_SASL_Proxy_Authorization.html)