]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/saslauthz.c
Commit of the Proxy Cache contribution (ITS#2062)
[openldap] / servers / slapd / saslauthz.c
index 50225b1d1712589797ffb93c778de14bcdb26cc7..3dc0158afc8e950f7ecd1ed5f8deca70bf8de592 100644 (file)
@@ -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;
        }