mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
Patch: add OpenLDAPaci #public# access (ITS#2005)
================ Written by Hallvard B. Furuseth and placed into the public domain. This software is not subject to any license of the University of Oslo. ================ I couldn't find a way for an OpenLDAPaci to grant public access to an entry, so I added a dnType #public# for that. It is in the position of subjectDn in the draft, which seems kind of stupid, so I put it in the position of dnType instead. Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
This commit is contained in:
parent
f8c0481dd4
commit
526d010635
1 changed files with 3 additions and 3 deletions
|
|
@ -1746,10 +1746,10 @@ aci_mask(
|
|||
|
||||
if (ber_bvstrcasecmp( &aci_bv_access_id, &bv ) == 0) {
|
||||
struct berval ndn;
|
||||
rc = 1;
|
||||
rc = 0;
|
||||
if ( dnNormalize2(NULL, &sdn, &ndn) == LDAP_SUCCESS ) {
|
||||
if (!dn_match( &op->o_ndn, &ndn))
|
||||
rc = 0;
|
||||
if (dn_match( &op->o_ndn, &ndn))
|
||||
rc = 1;
|
||||
free(ndn.bv_val);
|
||||
}
|
||||
return (rc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue