mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Fix slap_sasl_authorized, c_authz_backend may be NULL
This commit is contained in:
parent
f172e06cc0
commit
9beaa08d79
1 changed files with 1 additions and 1 deletions
|
|
@ -693,7 +693,7 @@ int slap_sasl_authorized( Connection *conn,
|
|||
}
|
||||
|
||||
/* Allow the manager to authorize as any DN. */
|
||||
if( be_isroot( conn->c_authz_backend, authcDN )) {
|
||||
if( conn->c_authz_backend && be_isroot( conn->c_authz_backend, authcDN )) {
|
||||
rc = LDAP_SUCCESS;
|
||||
goto DONE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue