diff options
author | Günther Deschner <gd@samba.org> | 2006-07-11 10:39:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:13 -0500 |
commit | f2ebc0e3de396f44f49dabbfe42cb3ad1c1a7ec1 (patch) | |
tree | eb8b09a0685d6a7f6a128a19ae53c29a34c8b397 /source | |
parent | df10448e2c6166d1c129c2d9a9a74c5b4a42555f (diff) | |
download | samba-f2ebc0e3de396f44f49dabbfe42cb3ad1c1a7ec1.tar.gz samba-f2ebc0e3de396f44f49dabbfe42cb3ad1c1a7ec1.tar.xz samba-f2ebc0e3de396f44f49dabbfe42cb3ad1c1a7ec1.zip |
r16941: Fix crash bug when the pam conversation receives an empty token.
Thanks to Bjoern Jacke for the report and test-case.
Guenther
Diffstat (limited to 'source')
-rw-r--r-- | source/nsswitch/pam_winbind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c index 8110a02a685..78776256e99 100644 --- a/source/nsswitch/pam_winbind.c +++ b/source/nsswitch/pam_winbind.c @@ -748,8 +748,8 @@ static int _winbind_read_password(pam_handle_t * pamh, } } } else { - _pam_log(LOG_NOTICE - ,"could not recover authentication token"); + _pam_log(LOG_NOTICE, "could not recover authentication token"); + retval = PAM_AUTHTOK_RECOVER_ERR; } } |