]> git.sur5r.net Git - openldap/commitdiff
consistently use o_log_prefix
authorPierangelo Masarati <ando@openldap.org>
Wed, 22 Aug 2007 09:17:09 +0000 (09:17 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 22 Aug 2007 09:17:09 +0000 (09:17 +0000)
servers/slapd/sasl.c

index beeead411bcbfc9349c5451fcad9dcd7a79c5eca..9e019fdec0bc91a64c34d6d965b8f12528c6c02a 100644 (file)
@@ -722,9 +722,9 @@ slap_sasl_authorize(
 ok:
        if (conn->c_sasl_bindop) {
                Statslog( LDAP_DEBUG_STATS,
-                       "conn=%lu op=%lu BIND authcid=\"%s\" authzid=\"%s\"\n",
-                       conn->c_connid, conn->c_sasl_bindop->o_opid
-                       auth_identity, requested_user, 0);
+                       "%s BIND authcid=\"%s\" authzid=\"%s\"\n",
+                       conn->c_sasl_bindop->o_log_prefix
+                       auth_identity, requested_user, 0, 0 );
        }
 
        Debug( LDAP_DEBUG_TRACE, "SASL Authorize [conn=%ld]: "
@@ -826,9 +826,9 @@ ok:
 
        if ( conn->c_sasl_bindop ) {
                Statslog( LDAP_DEBUG_STATS,
-                       "conn=%lu op=%lu BIND authcid=\"%s\" authzid=\"%s\"\n",
-                       conn->c_connid, conn->c_sasl_bindop->o_opid
-                       authcid, authzid ? authzid : "", 0);
+                       "%s BIND authcid=\"%s\" authzid=\"%s\"\n",
+                       conn->c_sasl_bindop->o_log_prefix
+                       authcid, authzid ? authzid : "", 0, 0 );
        }
 
        *errstr = NULL;