diff options
Diffstat (limited to 'src/responder')
-rw-r--r-- | src/responder/common/responder_common.c | 4 | ||||
-rw-r--r-- | src/responder/common/responder_dp.c | 6 | ||||
-rw-r--r-- | src/responder/nss/nsssrv_cmd.c | 4 | ||||
-rw-r--r-- | src/responder/nss/nsssrv_nc.c | 2 | ||||
-rw-r--r-- | src/responder/pam/pam_LOCAL_domain.c | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/responder/common/responder_common.c b/src/responder/common/responder_common.c index ca830e47..f524afb9 100644 --- a/src/responder/common/responder_common.c +++ b/src/responder/common/responder_common.c @@ -207,7 +207,7 @@ static void accept_priv_fd_handler(struct tevent_context *ev, len = sizeof(cctx->addr); cctx->cfd = accept(rctx->priv_lfd, (struct sockaddr *)&cctx->addr, &len); if (cctx->cfd == -1) { - DEBUG(1, ("Accept failed [%s]", strerror(errno))); + DEBUG(1, ("Accept failed [%s]\n", strerror(errno))); talloc_free(cctx); return; } @@ -260,7 +260,7 @@ static void accept_fd_handler(struct tevent_context *ev, len = sizeof(cctx->addr); cctx->cfd = accept(rctx->lfd, (struct sockaddr *)&cctx->addr, &len); if (cctx->cfd == -1) { - DEBUG(1, ("Accept failed [%s]", strerror(errno))); + DEBUG(1, ("Accept failed [%s]\n", strerror(errno))); talloc_free(cctx); return; } diff --git a/src/responder/common/responder_dp.c b/src/responder/common/responder_dp.c index 782befb1..d5a4ca76 100644 --- a/src/responder/common/responder_dp.c +++ b/src/responder/common/responder_dp.c @@ -366,7 +366,7 @@ int sss_dp_send_acct_req(struct resp_ctx *rctx, TALLOC_CTX *callback_memctx, value.ptr = sdp_req; hret = hash_enter(dp_requests, &key, &value); if (hret != HASH_SUCCESS) { - DEBUG(0, ("Could not store request query (%s)", + DEBUG(0, ("Could not store request query (%s)\n", hash_error_string(hret))); talloc_zfree(sdp_req); ret = EIO; @@ -379,7 +379,7 @@ int sss_dp_send_acct_req(struct resp_ctx *rctx, TALLOC_CTX *callback_memctx, sdp_req->tev = tevent_add_timer(sdp_req->ev, sdp_req, tv, sdp_req_timeout, sdp_req); if (!sdp_req->tev) { - DEBUG(0, ("Out of Memory!?")); + DEBUG(0, ("Out of Memory!?\n")); talloc_zfree(sdp_req); ret = ENOMEM; goto done; @@ -498,7 +498,7 @@ static int sss_dp_send_acct_req_create(struct resp_ctx *rctx, sss_dp_send_acct_callback, sdp_req, NULL); if (!dbret) { - DEBUG(0, ("Could not queue up pending request!")); + DEBUG(0, ("Could not queue up pending request!\n")); talloc_zfree(sdp_req); dbus_pending_call_cancel(pending_reply); dbus_message_unref(msg); diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c index 46d4a236..c43a544e 100644 --- a/src/responder/nss/nsssrv_cmd.c +++ b/src/responder/nss/nsssrv_cmd.c @@ -75,13 +75,13 @@ static int nss_cmd_send_error(struct nss_cmd_ctx *cmdctx, int err) } #define NSS_CMD_FATAL_ERROR(cctx) do { \ - DEBUG(1,("Fatal error, killing connection!")); \ + DEBUG(1,("Fatal error, killing connection!\n")); \ talloc_free(cctx); \ return; \ } while(0) #define NSS_CMD_FATAL_ERROR_CODE(cctx, ret) do { \ - DEBUG(1,("Fatal error, killing connection!")); \ + DEBUG(1,("Fatal error, killing connection!\n")); \ talloc_free(cctx); \ return ret; \ } while(0) diff --git a/src/responder/nss/nsssrv_nc.c b/src/responder/nss/nsssrv_nc.c index 1fa7d612..8d8ef01c 100644 --- a/src/responder/nss/nsssrv_nc.c +++ b/src/responder/nss/nsssrv_nc.c @@ -141,7 +141,7 @@ static int nss_ncache_set_str(struct nss_nc_ctx *ctx, ret = tdb_store(ctx->tdb, key, data, TDB_REPLACE); if (ret != 0) { - DEBUG(1, ("Negative cache failed to set entry: [%s]", + DEBUG(1, ("Negative cache failed to set entry: [%s]\n", tdb_errorstr(ctx->tdb))); ret = EFAULT; } diff --git a/src/responder/pam/pam_LOCAL_domain.c b/src/responder/pam/pam_LOCAL_domain.c index 34f0c8dd..a598e77e 100644 --- a/src/responder/pam/pam_LOCAL_domain.c +++ b/src/responder/pam/pam_LOCAL_domain.c @@ -265,7 +265,7 @@ static void do_pam_chauthtok(struct LOCAL_request *lreq) if (strlen(newauthtok) == 0) { /* TODO: should we allow null passwords via a config option ? */ - DEBUG(1, ("Empty passwords are not allowed!")); + DEBUG(1, ("Empty passwords are not allowed!\n")); ret = EINVAL; goto done; } |