]> git.sur5r.net Git - openldap/commitdiff
fix logging
authorPierangelo Masarati <ando@openldap.org>
Sat, 1 Jan 2011 17:26:15 +0000 (17:26 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 1 Jan 2011 17:26:15 +0000 (17:26 +0000)
contrib/slapd-modules/vc/vc.c

index 8a2923dbce5a8ce96e9fe6f1e4ed0f17e508e0d4..ff0238d26ebef0efe82f5b2e3f76f39f257d23c6 100644 (file)
@@ -255,6 +255,8 @@ vc_exop(
                thrctx = ldap_pvt_thread_pool_context();
                connection_fake_init2( &conn->connbuf, &conn->opbuf, thrctx, 1 );
                conn->op = &conn->opbuf.ob_op;
+               snprintf( conn->op->o_log_prefix, sizeof( conn->op->o_log_prefix ),
+                       "%s VERIFYCREDENTIALS", op->o_log_prefix );
        }
 
        conn->op->o_tag = LDAP_REQ_BIND;