mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 03:44:58 -05:00
fix ITS#3416
This commit is contained in:
parent
5a5fc55a13
commit
564c34d131
1 changed files with 5 additions and 2 deletions
|
|
@ -1050,7 +1050,7 @@ parse_acl(
|
|||
acl_usage();
|
||||
}
|
||||
|
||||
if ( BER_BVISEMPTY( &b->a_peername_pat ) ) {
|
||||
if ( !BER_BVISEMPTY( &b->a_peername_pat ) ) {
|
||||
fprintf( stderr, "%s: line %d: "
|
||||
"peername pattern already specified.\n",
|
||||
fname, lineno );
|
||||
|
|
@ -2240,8 +2240,11 @@ print_acl( Backend *be, AccessControl *a )
|
|||
if ( ! first ) fprintf( stderr, "," );
|
||||
if (an->an_oc) {
|
||||
fputc( an->an_oc_exclude ? '!' : '@', stderr);
|
||||
fputs( an->an_oc->soc_cname.bv_val, stderr );
|
||||
|
||||
} else {
|
||||
fputs( an->an_name.bv_val, stderr );
|
||||
}
|
||||
fputs( an->an_name.bv_val, stderr );
|
||||
first = 0;
|
||||
}
|
||||
fprintf( stderr, "\n" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue