summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-10-11 00:32:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:56 -0500
commit8f49721fef2dfa66ac13ec7b860a3315019240da (patch)
treeb0aa29bbd72c97dd9a302d1c482bf68d51cb92c4 /source3/smbd
parentf08b3e2e2575b855603a74bc7588e2460969d911 (diff)
downloadsamba-8f49721fef2dfa66ac13ec7b860a3315019240da.tar.gz
samba-8f49721fef2dfa66ac13ec7b860a3315019240da.tar.bz2
samba-8f49721fef2dfa66ac13ec7b860a3315019240da.zip
r2899: Change some #if DEBUG_PASSWORD's to #ifdef DEBUG_PASSWORD.
Bugzilla #1903. (This used to be commit 1327d83d902b6a39096d387d734e73d85ed53f85)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/chgpasswd.c2
-rw-r--r--source3/smbd/password.c2
2 files changed, 2 insertions, 2 deletions
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