mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 15:41:24 -05:00
ITS#2529 null DN in log
This commit is contained in:
parent
9e798820e3
commit
dc41a6b37e
1 changed files with 3 additions and 2 deletions
|
|
@ -224,12 +224,13 @@ access_allowed(
|
|||
"access_allowed: backend default %s access %s to \"%s\"\n",
|
||||
access2str( access ),
|
||||
be->be_dfltaccess >= access ? "granted" : "denied",
|
||||
op->o_dn.bv_val );
|
||||
op->o_dn.bv_val ? op->o_dn.bv_val : "(anonymous)" );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_ACL,
|
||||
"=> access_allowed: backend default %s access %s to \"%s\"\n",
|
||||
access2str( access ),
|
||||
be->be_dfltaccess >= access ? "granted" : "denied", op->o_dn.bv_val );
|
||||
be->be_dfltaccess >= access ? "granted" : "denied",
|
||||
op->o_dn.bv_val ? op->o_dn.bv_val : "(anonymous)" );
|
||||
#endif
|
||||
ret = be->be_dfltaccess >= access;
|
||||
goto done;
|
||||
|
|
|
|||
Loading…
Reference in a new issue