]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/starttls.c
Don't reeval expression
[openldap] / servers / slapd / starttls.c
index d7f821e0b2fb5a6a2fd5c194413ddc018e69da3c..46dbf83b91de5510fe2682a295159804f2e30381 100644 (file)
@@ -30,7 +30,7 @@ starttls_extop (
        struct berval ** rspdata,
        LDAPControl ***rspctrls,
        const char ** text,
-       BVarray * refs )
+       BerVarray * refs )
 {
        void *ctx;
        int rc;
@@ -65,6 +65,10 @@ starttls_extop (
        if ( !( global_disallows & SLAP_DISALLOW_TLS_2_ANON ) &&
                ( conn->c_dn.bv_len != 0 ) )
        {
+               Statslog( LDAP_DEBUG_STATS,
+                       "conn=%lu op=%lu AUTHZ anonymous mech=starttls ssf=0",
+                       op->o_connid, op->o_opid, 0, 0, 0 );
+
                /* force to anonymous */
                connection2anonymous( conn );
        }