Commit 08251e4b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix slap_sasl_authorized, c_authz_backend may be NULL

parent f6084af3
......@@ -692,7 +692,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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment