[rs-commit] r235 - /mod_ca/trunk/mod_ca_ldap.c

rs-commit at redwax.eu rs-commit at redwax.eu
Sat Jan 4 22:04:24 CET 2020


Author: minfrin at redwax.eu
Date: Sat Jan  4 22:04:22 2020
New Revision: 235

Log:
Remove references to APLOGNO.

Modified:
    mod_ca/trunk/mod_ca_ldap.c

Modified: mod_ca/trunk/mod_ca_ldap.c
==============================================================================
--- mod_ca/trunk/mod_ca_ldap.c	(original)
+++ mod_ca/trunk/mod_ca_ldap.c	Sat Jan  4 22:04:22 2020
@@ -418,12 +418,12 @@
     }
     else {
         ap_log_rerror(
-                APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(XXXXX) "mod_ca_ldap authn: no sec->host - weird...?");
+                APLOG_MARK, APLOG_WARNING, 0, r, "mod_ca_ldap authn: no sec->host - weird...?");
         return HTTP_INTERNAL_SERVER_ERROR;
     }
 
     ap_log_rerror(
-            APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(XXXXX) "mod_ca_ldap authn: using URL %s", conf->url);
+            APLOG_MARK, APLOG_DEBUG, 0, r, "mod_ca_ldap authn: using URL %s", conf->url);
 
     /* construct the filter.
      *
@@ -706,13 +706,13 @@
 
     if (result != LDAP_SUCCESS) {
         ap_log_rerror(
-                APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(XXXXX) "mod_ca_ldap authn: LDAP search for filter '%s' at base '%s' failed: %s (%s)", filter, conf->basedn, l->ldc->reason, ldap_err2string(result));
+                APLOG_MARK, APLOG_ERR, 0, r, "mod_ca_ldap authn: LDAP search for filter '%s' at base '%s' failed: %s (%s)", filter, conf->basedn, l->ldc->reason, ldap_err2string(result));
         apr_pool_destroy(l->pool);
         return HTTP_FORBIDDEN;
     }
     else if (!l->dn) {
         ap_log_rerror(
-                APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(XXXXX) "mod_ca_ldap authn: LDAP search for filter '%s' at base '%s' did not return a valid entry: %s", filter, conf->basedn, l->ldc->reason);
+                APLOG_MARK, APLOG_ERR, 0, r, "mod_ca_ldap authn: LDAP search for filter '%s' at base '%s' did not return a valid entry: %s", filter, conf->basedn, l->ldc->reason);
         apr_pool_destroy(l->pool);
         return HTTP_FORBIDDEN;
     }
@@ -935,7 +935,7 @@
 
     if (result != LDAP_SUCCESS) {
         ap_log_rerror(
-                APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(XXXXX) "mod_ca_ldap store: LDAP modify of '%s' failed: %s (%s)", l->dn, l->ldc->reason, ldap_err2string(result));
+                APLOG_MARK, APLOG_ERR, 0, r, "mod_ca_ldap store: LDAP modify of '%s' failed: %s (%s)", l->dn, l->ldc->reason, ldap_err2string(result));
         apr_pool_destroy(l->pool);
         return HTTP_FORBIDDEN;
     }
@@ -1270,7 +1270,7 @@
 
 #ifndef LDAP_OPT_TIMEOUT
 
-    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, cmd->server, APLOGNO(01314)
+    ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, cmd->server,
             "LDAP: LDAP_OPT_TIMEOUT option not supported by the "
             "LDAP library in use. Using LDAPTimeout value as search "
             "timeout only." );



More information about the rs-commit mailing list