From 8f49721fef2dfa66ac13ec7b860a3315019240da Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 11 Oct 2004 00:32:31 +0000 Subject: r2899: Change some #if DEBUG_PASSWORD's to #ifdef DEBUG_PASSWORD. Bugzilla #1903. (This used to be commit 1327d83d902b6a39096d387d734e73d85ed53f85) --- source3/auth/pass_check.c | 2 +- source3/libsmb/ntlm_check.c | 2 +- source3/smbd/chgpasswd.c | 2 +- source3/smbd/password.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c index 1ac8c1815a..0425e01cdc 100644 --- a/source3/auth/pass_check.c +++ b/source3/auth/pass_check.c @@ -599,7 +599,7 @@ NTSTATUS pass_check(const struct passwd *pass, const char *user, const char *pas NTSTATUS nt_status; -#if DEBUG_PASSWORD +#ifdef DEBUG_PASSWORD DEBUG(100, ("checking user=[%s] pass=[%s]\n", user, password)); #endif diff --git a/source3/libsmb/ntlm_check.c b/source3/libsmb/ntlm_check.c index 1d02b03e0c..a0ca08fb89 100644 --- a/source3/libsmb/ntlm_check.c +++ b/source3/libsmb/ntlm_check.c @@ -63,7 +63,7 @@ static BOOL smb_pwd_check_ntlmv1(const DATA_BLOB *nt_response, } -#if DEBUG_PASSWORD +#ifdef DEBUG_PASSWORD DEBUG(100,("Part password (P16) was |\n")); dump_data(100, part_passwd, 16); DEBUGADD(100,("Password from client was |\n")); diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c index f8636be351..c91f8599c9 100644 --- a/source3/smbd/chgpasswd.c +++ b/source3/smbd/chgpasswd.c @@ -456,7 +456,7 @@ BOOL chgpasswd(const char *name, const struct passwd *pass, DEBUG(3, ("chgpasswd: Password change (as_root=%s) for user: %s\n", BOOLSTR(as_root), name)); -#if DEBUG_PASSWORD +#ifdef DEBUG_PASSWORD DEBUG(100, ("chgpasswd: Passwords: old=%s new=%s\n", oldpass, newpass)); #endif diff --git a/source3/smbd/password.c b/source3/smbd/password.c index cf3c3d64d2..eb389d7013 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -473,7 +473,7 @@ BOOL authorise_login(int snum, fstring user, DATA_BLOB password, { BOOL ok = False; -#if DEBUG_PASSWORD +#ifdef DEBUG_PASSWORD DEBUG(100,("authorise_login: checking authorisation on user=%s pass=%s\n", user,password.data)); #endif -- cgit