mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Drop "access " from acl_unparse
This commit is contained in:
parent
b6a42fd1a2
commit
a2a9ae725f
@ -2294,7 +2294,7 @@ acl_unparse( AccessControl *a, struct berval *bv )
|
||||
|
||||
ptr = bv->bv_val;
|
||||
|
||||
ptr = lutil_strcopy( ptr, "access to" );
|
||||
ptr = lutil_strcopy( ptr, "to" );
|
||||
if ( !BER_BVISNULL( &a->acl_dn_pat ) ) {
|
||||
to++;
|
||||
ptr = lutil_strcopy( ptr, " dn." );
|
||||
@ -2369,7 +2369,7 @@ print_acl( Backend *be, AccessControl *a )
|
||||
struct berval bv;
|
||||
|
||||
acl_unparse( a, &bv );
|
||||
fprintf( stderr, "%s ACL: %s\n",
|
||||
fprintf( stderr, "%s ACL: access %s\n",
|
||||
be == NULL ? "Global" : "Backend", bv.bv_val );
|
||||
}
|
||||
#endif /* LDAP_DEBUG */
|
||||
|
Loading…
Reference in New Issue
Block a user