summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_access.c5
-rw-r--r--src/providers/proxy/proxy_child.c4
-rw-r--r--src/providers/proxy/proxy_init.c3
-rw-r--r--src/responder/nss/nsssrv_services.c13
4 files changed, 14 insertions, 11 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index 9ea90775..a4c63865 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -338,8 +338,9 @@ static errno_t sdap_account_expired_ad(struct pam_data *pd,
expiration_time = ldb_msg_find_attr_as_uint64(user_entry,
SYSDB_AD_ACCOUNT_EXPIRES, 0);
- DEBUG(9, ("Expiration time for user [%s] is [%lld].\n",
- pd->user, expiration_time));
+ DEBUG(SSSDBG_TRACE_ALL,
+ ("Expiration time for user [%s] is [%"PRIu64"].\n",
+ pd->user, expiration_time));
if (uac & UAC_ACCOUNTDISABLE) {
diff --git a/src/providers/proxy/proxy_child.c b/src/providers/proxy/proxy_child.c
index 6f95ede6..66afcfb6 100644
--- a/src/providers/proxy/proxy_child.c
+++ b/src/providers/proxy/proxy_child.c
@@ -430,8 +430,8 @@ int proxy_child_send_id(struct sbus_connection *conn,
return ENOMEM;
}
- DEBUG(4, ("Sending ID to Proxy Backend: (%d,%ld)\n",
- version, id));
+ DEBUG(SSSDBG_FUNC_DATA, ("Sending ID to Proxy Backend: (%d,%"PRIu32")\n",
+ version, id));
ret = dbus_message_append_args(msg,
DBUS_TYPE_UINT16, &version,
diff --git a/src/providers/proxy/proxy_init.c b/src/providers/proxy/proxy_init.c
index 2b154a07..ec2b1935 100644
--- a/src/providers/proxy/proxy_init.c
+++ b/src/providers/proxy/proxy_init.c
@@ -22,6 +22,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "util/sss_format.h"
#include "providers/proxy/proxy.h"
static int client_registration(DBusMessage *message,
@@ -415,7 +416,7 @@ static int client_registration(DBusMessage *message,
return EIO;
}
- DEBUG(4, ("Proxy client [%ld] connected\n", cli_id));
+ DEBUG(SSSDBG_FUNC_DATA, ("Proxy client [%"PRIu32"] connected\n", cli_id));
/* Check the hash table */
key.type = HASH_KEY_ULONG;
diff --git a/src/responder/nss/nsssrv_services.c b/src/responder/nss/nsssrv_services.c
index dccc2f40..79caa7d0 100644
--- a/src/responder/nss/nsssrv_services.c
+++ b/src/responder/nss/nsssrv_services.c
@@ -225,7 +225,7 @@ getserv_send(TALLOC_CTX *mem_ctx,
/* If negatively cached, return we didn't find it */
if (ret == EEXIST) {
DEBUG(SSSDBG_TRACE_FUNC,
- ("Service [%lu:%s] does not exist in [%s]! "
+ ("Service [%"PRIu16":%s] does not exist in [%s]! "
"(negative cache)\n",
port,
SVC_PROTO_CASED ? SVC_PROTO_CASED : "<ANY>",
@@ -248,7 +248,7 @@ getserv_send(TALLOC_CTX *mem_ctx,
/* Check the cache */
DEBUG(SSSDBG_TRACE_FUNC,
- ("Checking cache for [%lu:%s@%s]\n",
+ ("Checking cache for [%"PRIu16":%s@%s]\n",
port,
SVC_PROTO_CASED ? SVC_PROTO_CASED : "<ANY>",
dom->name));
@@ -291,7 +291,8 @@ getserv_send(TALLOC_CTX *mem_ctx,
* We'll log an error and continue.
*/
DEBUG(SSSDBG_MINOR_FAILURE,
- ("Could not set negative cache for [%lu][%s]\n",
+ ("Could not set negative cache for "
+ "[%"PRIu16"][%s]\n",
state->port, SVC_PROTO_CASED));
}
}
@@ -502,7 +503,7 @@ static void lookup_service_done(struct tevent_req *subreq)
&state->res);
} else {
DEBUG(SSSDBG_TRACE_FUNC,
- ("Re-checking cache for [%lu:%s@%s]\n",
+ ("Re-checking cache for [%"PRIu16":%s@%s]\n",
state->port,
SVC_PROTO_CASED ? SVC_PROTO_CASED : "<ANY>",
dom->name));
@@ -540,7 +541,7 @@ static void lookup_service_done(struct tevent_req *subreq)
* We'll log an error and continue.
*/
DEBUG(SSSDBG_MINOR_FAILURE,
- ("Could not set negative cache for [%lu][%s]\n",
+ ("Could not set negative cache for [%"PRIu16"][%s]\n",
state->port, SVC_PROTO_CASED));
}
}
@@ -1146,7 +1147,7 @@ int nss_cmd_getservbyport(struct cli_ctx *cctx)
dctx->protocol = service_protocol;
DEBUG(SSSDBG_TRACE_FUNC,
- ("Requesting info for service on port [%lu/%s]\n",
+ ("Requesting info for service on port [%"PRIu16"/%s]\n",
port, service_protocol ? service_protocol : "<ANY>"));
/* All port lookups are multidomain searches */