but if user2 searches for PrivateAttr of user1 it gets the attribute.
Jan 25 09:16:56 openldap1 slapd[58851]: => mdb_entry_get: found entry: "uid=user2,ou=people,o=
abc.net"
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: search access to "o=
abc.net" "entry" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_get: [4] attr entry
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_mask: access to entry "o=
abc.net", attr "entry" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_mask: to all values by "uid=user2,ou=people,o=
abc.net", (=0)
Jan 25 09:16:56 openldap1 slapd[58851]: <= check a_dn_pat: *
Jan 25 09:16:56 openldap1 slapd[58851]: <= acl_mask: [1] applying read(=rscxd) (stop)
Jan 25 09:16:56 openldap1 slapd[58851]: <= acl_mask: [1] mask: read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => slap_access_allowed: search access granted by read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: search access granted by read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: search access to "uid=user1,ou=people,o=
abc.net" "uid" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_get: [4] attr uid
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_mask: access to entry "uid=user1,ou=people,o=
abc.net", attr "uid" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_mask: to value by "uid=user2,ou=people,o=
abc.net", (=0)
Jan 25 09:16:56 openldap1 slapd[58851]: <= check a_dn_pat: *
Jan 25 09:16:56 openldap1 slapd[58851]: <= acl_mask: [1] applying read(=rscxd) (stop)
Jan 25 09:16:56 openldap1 slapd[58851]: <= acl_mask: [1] mask: read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => slap_access_allowed: search access granted by read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: search access granted by read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: read access to "uid=user1,ou=people,o=
abc.net" "entry" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_get: [4] attr entry
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_mask: access to entry "uid=user1,ou=people,o=
abc.net", attr "entry" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_mask: to all values by "uid=user2,ou=people,o=
abc.net", (=0)
Jan 25 09:16:56 openldap1 slapd[58851]: <= check a_dn_pat: *
Jan 25 09:16:56 openldap1 slapd[58851]: <= acl_mask: [1] applying read(=rscxd) (stop)
Jan 25 09:16:56 openldap1 slapd[58851]: <= acl_mask: [1] mask: read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => slap_access_allowed: read access granted by read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: read access granted by read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: result not in cache (PrivateAttr)
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: read access to "uid=user1,ou=people,o=
abc.net" "PrivateAttr" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: search access to "uid=user1,ou=people,o=
abc.net" "memberOf" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_get: [2] attr PrivateAttr
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_mask: access to entry "uid=user1,ou=people,o=
abc.net", attr "PrivateAttr" requested
Jan 25 09:16:56 openldap1 slapd[58851]: => acl_mask: to value by "uid=user2,ou=people,o=
abc.net", (=0)
Jan 25 09:16:56 openldap1 slapd[58851]: <= check a_group_pat: cn=group,ou=special,o=
abc.netJan 25 09:16:56 openldap1 slapd[58851]: => mdb_entry_get: found entry: "cn=group,ou=special,o=
abc.net"
Jan 25 09:16:56 openldap1 slapd[58851]: <= check a_authz.sai_ssf: ACL 128 > OP 256
Jan 25 09:16:56 openldap1 slapd[58851]: <= acl_mask: [1] applying read(=rscxd) (stop)
Jan 25 09:16:56 openldap1 slapd[58851]: <= acl_mask: [1] mask: read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => slap_access_allowed: read access granted by read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: => access_allowed: read access granted by read(=rscxd)
Jan 25 09:16:56 openldap1 slapd[58851]: connection_read(35): no connection!