mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#2529 null DN in log
This commit is contained in:
parent
9e798820e3
commit
dc41a6b37e
@ -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 New Issue
Block a user