[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapacl Read:Allow - ldapsearch no result



Uli Tehrani <u_tehrani@yahoo.de> writes:

> i want to allow general read access for attribute sshPublicKey.
>
> I configured the following rule on top
>
> access to attrs=sshPublicKey
>     by *  read
>
>
> slapacl -f /etc/openldap/slapd.conf  -vvv -b 
> uid=utehrani,ou=ActiveUser,ou=PosixUser,ou=User,dc=example,dc=com
> sshPublicKey/read
> read access to sshPublicKey: ALLOWED
>
> But when i run ldapsearch. I get no such object
>
> ldapsearch -LLL  -h ldap1 -x   -b 
> uid=utehrani,ou=ActiveUser,ou=PosixUser,ou=User,dc=example,dc=com
> sshPublicKey
> No such object (32)

Read the OPERATION REQUIREMENTS section of man slapd.access.
-- 
Regards,
Feri.