Removed silly fprintf(stderr, ...) debug.
authorTim Potter <tpot@samba.org>
Wed, 30 Jan 2002 03:14:20 +0000 (03:14 +0000)
committerTim Potter <tpot@samba.org>
Wed, 30 Jan 2002 03:14:20 +0000 (03:14 +0000)
Part of Samuel Ziegler's patch to get winbind password changing working
again in HEAD.
(This used to be commit b5540bee7be957d1def62ee85a84488e0250624b)

source3/nsswitch/pam_winbind.c

index 7cb2cd8bf1e1dc67b6b9480a24f8ce5ecf3c8baa..ab4cb7712b12dea4940b10839d3bd0ef194570ef 100644 (file)
@@ -1,6 +1,7 @@
 /* pam_winbind module
 
    Copyright Andrew Tridgell <tridge@samba.org> 2000
+   Copyright Tim Potter <tpot@samba.org> 2000
 
    largely based on pam_userdb by Christian Gafton <gafton@redhat.com> 
 */
@@ -456,8 +457,6 @@ int pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc,
             return PAM_AUTHTOK_ERR;
         }
 
-        fprintf(stderr, "oldpw = %s, newpw = %s\n", oldpw, newpw);
-
         if (retval == PAM_SUCCESS && 
             winbind_chauthtok_request(user, oldpw, newpw) == 0) {
             return PAM_SUCCESS;