Hello all,

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)


Who can helps ?

I am running openldap 2.4.39-8

Thanks in advance

Regards

Uli

Uli




-- 
===================================

Ulrich Tehrani
Am Ulrichshof 19
79189 Bad Krozingen

+497633806246

u_tehrani@yahoo.de

===================================