summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/pass_check.c3
-rw-r--r--source3/passdb/pass_check.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c
index d847407bbb..f07f0e1abb 100644
--- a/source3/auth/pass_check.c
+++ b/source3/auth/pass_check.c
@@ -758,7 +758,8 @@ BOOL pass_check(char *user,char *password, int pwlen, struct passwd *pwd,
if (password) password[pwlen] = 0;
#if DEBUG_PASSWORD
- DEBUG(100,("checking user=[%s] pass=[%s]\n",user,password));
+ DEBUG(100,("checking user=[%s] pass=",user));
+ dump_data(100, password, strlen(password));
#endif
if (!password) {
diff --git a/source3/passdb/pass_check.c b/source3/passdb/pass_check.c
index d847407bbb..f07f0e1abb 100644
--- a/source3/passdb/pass_check.c
+++ b/source3/passdb/pass_check.c
@@ -758,7 +758,8 @@ BOOL pass_check(char *user,char *password, int pwlen, struct passwd *pwd,
if (password) password[pwlen] = 0;
#if DEBUG_PASSWORD
- DEBUG(100,("checking user=[%s] pass=[%s]\n",user,password));
+ DEBUG(100,("checking user=[%s] pass=",user));
+ dump_data(100, password, strlen(password));
#endif
if (!password) {