[PATCH] Two small cleanups

Volker Lendecke vl at samba.org
Mon Mar 6 14:29:28 UTC 2017


Hi!

Review appreciated!

Thanks, Volker
-------------- next part --------------
>From f7f6479a778f179b48b48309fe64697eb52f4401 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Sun, 26 Feb 2017 17:27:05 +0100
Subject: [PATCH 1/2] auth4: Remove an unused struct declaration

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source4/auth/auth.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/source4/auth/auth.h b/source4/auth/auth.h
index fb486941697..7c623182ec6 100644
--- a/source4/auth/auth.h
+++ b/source4/auth/auth.h
@@ -46,7 +46,6 @@ struct loadparm_context;
 #define AUTH4_INTERFACE_VERSION 0
 
 struct auth_method_context;
-struct auth_check_password_request;
 struct auth4_context;
 struct auth_session_info;
 struct ldb_dn;
-- 
2.11.0


>From 4fd879363b5aca56334c51f7b66a6ce937cc52ad Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Mon, 27 Feb 2017 13:35:59 +0000
Subject: [PATCH 2/2] winbind: Fix a debug message

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/winbindd/winbindd_pam.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 741a42f86bd..74afdcc75a4 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -1271,7 +1271,8 @@ static NTSTATUS winbindd_dual_auth_passdb(TALLOC_CTX *mem_ctx,
 	status = make_auth_context_fixed(frame, &auth_context, challenge->data);
 
 	if (!NT_STATUS_IS_OK(status)) {
-		DEBUG(0, ("Failed to test authentication with check_sam_security_info3: %s\n", nt_errstr(status)));
+		DBG_ERR("make_auth_context_fixed failed: %s\n",
+			nt_errstr(status));
 		TALLOC_FREE(frame);
 		return status;
 	}
-- 
2.11.0



More information about the samba-technical mailing list