Wrong assignment of password from pam_mount

This commit is contained in:
wbaumann 2010-01-21 18:58:49 +00:00
parent 3a62d5a5da
commit 741b565765
3 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,11 @@
ChangeLog for davfs2 ChangeLog for davfs2
-------------------- --------------------


2010-01-21 Werner Baumann (werner.baumann@onlinehome.de)
* mount_davfs.c, parse_secrets:
Wrong assignment of password from pam_mount
(bug #28706);

2009-11-15 Werner Baumann (werner.baumann@onlinehome.de) 2009-11-15 Werner Baumann (werner.baumann@onlinehome.de)
* cache.c, dav_create: * cache.c, dav_create:
Fix another error in the log message. Fix another error in the log message.

1
THANKS
View File

@ -24,6 +24,7 @@ Paul eater <eater@users.sourceforge.net>
Andrei Emeltchenko andrei.emeltchenko.news@gmail.com Andrei Emeltchenko andrei.emeltchenko.news@gmail.com
Jan Engelhardt <jengelh@users.sourceforge.net> Jan Engelhardt <jengelh@users.sourceforge.net>
Joe Feise <jfeise@users.sourceforge.net> Joe Feise <jfeise@users.sourceforge.net>
Peter Fern <savannah@obfusc8.org>
Toralf Förster <toralf_foerster@users.sourceforge.net> Toralf Förster <toralf_foerster@users.sourceforge.net>
Justin Gombos <jgombos@users.sourceforge.net> Justin Gombos <jgombos@users.sourceforge.net>
Bob Glickstein <bglickstein@users.sourceforge.net> Bob Glickstein <bglickstein@users.sourceforge.net>

View File

@ -1158,7 +1158,7 @@ parse_secrets(dav_args *args)
if (args->password) if (args->password)
free(args->password); free(args->password);
args->password = NULL; args->password = NULL;
args->p_passwd = user_input(_("Password: ")); args->password = user_input(_("Password: "));
} }


if (args->askauth && args->useproxy && !args->p_user) { if (args->askauth && args->useproxy && !args->p_user) {