summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-13 15:46:09 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:53 +0200
commit795315c21d865a3060fc50bea79a758a7de7a956 (patch)
tree4d923cff9bff8bb79d3f73b1ee9d62e45692a3cd /src/providers/ldap
parentde3705b32718db199789580ed2e6299967753974 (diff)
downloadsssd-795315c21d865a3060fc50bea79a758a7de7a956.tar.gz
sssd-795315c21d865a3060fc50bea79a758a7de7a956.tar.bz2
sssd-795315c21d865a3060fc50bea79a758a7de7a956.zip
Fix formating of variables with type: int
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_async_connection.c2
-rw-r--r--src/providers/ldap/sdap_fd_events.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/providers/ldap/sdap_async_connection.c b/src/providers/ldap/sdap_async_connection.c
index e97bcf15..cc3e13d0 100644
--- a/src/providers/ldap/sdap_async_connection.c
+++ b/src/providers/ldap/sdap_async_connection.c
@@ -294,7 +294,7 @@ static void sdap_sys_connect_done(struct tevent_req *subreq)
&ber_sasl_minssf);
if (lret != LDAP_OPT_SUCCESS) {
DEBUG(SSSDBG_CRIT_FAILURE, ("Failed to set LDAP MIN SSF option "
- "to %lu\n", sasl_minssf));
+ "to %d\n", sasl_minssf));
goto fail;
}
}
diff --git a/src/providers/ldap/sdap_fd_events.c b/src/providers/ldap/sdap_fd_events.c
index 19001947..5e4ea79b 100644
--- a/src/providers/ldap/sdap_fd_events.c
+++ b/src/providers/ldap/sdap_fd_events.c
@@ -301,8 +301,9 @@ errno_t sdap_call_conn_cb(const char *uri,int fd, struct sdap_handle *sh)
ret = ldap_url_parse(uri, &lud);
if (ret != 0) {
ber_sockbuf_free(sb);
- DEBUG(1, ("ldap_url_parse failed to validate [%s] on fd [%ld].\n",
- uri, fd));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("ldap_url_parse failed to validate [%s] on fd [%d].\n",
+ uri, fd));
return EFAULT;
}