[Bug 373732] [NEW] libpam-mount ignores debug setting with luserconf
Markus Wigge
markus at cultcom.de
Fri May 8 14:29:14 UTC 2009
Public bug reported:
Binary package hint: libpam-mount
When you enable '<luserconf name=".pam_mount.conf.xml" />' in
'/etc/security/pam_mount.conf.xml' with each login the module writes a
debug message on the terminal:
path to luserconf set to /home/xyz/.pam_mount.conf.xml
For SSH this is just annoying, but it breaks FTP logins, as FTP clients
don't know how to handle the output!
maybe pam-mount should not be included generally for common-auth but only where needed.
login and gdm are quite enough for most cases.
here is a small 1-line patch that works for me:
--- src/rdconf1.c.orig 2009-05-08 16:19:29.313079504 +0200
+++ src/rdconf1.c 2009-05-08 16:20:15.063079308 +0200
@@ -664,7 +664,8 @@
config->luserconf = HXmc_strinit(pent->pw_dir);
HXmc_strcat(&config->luserconf, "/");
HXmc_strcat(&config->luserconf, s);
- w4rn("path to luserconf set to %s\n", config->luserconf);
+ if (Debug)
+ w4rn("path to luserconf set to %s\n", config->luserconf);
free(s);
return NULL;
}
and please remove the "use_first_pass" from "debian/pam-auth-update" the
current version does not understand it!
** Affects: libpam-mount (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftp mount pam
** Description changed:
Binary package hint: libpam-mount
When you enable '<luserconf name=".pam_mount.conf.xml" />' in
'/etc/security/pam_mount.conf.xml' with each login the module writes a
debug message on the terminal:
path to luserconf set to /home/xyz/.pam_mount.conf.xml
For SSH this is just annoying, but it breaks FTP logins, as FTP clients
don't know how to handle the output!
+
+ maybe pam-mount should not be included generally for common-auth but only where needed.
+ login and gdm are quite enough for most cases.
here is a small 1-line patch that works for me:
--- src/rdconf1.c.orig 2009-05-08 16:19:29.313079504 +0200
+++ src/rdconf1.c 2009-05-08 16:20:15.063079308 +0200
@@ -664,7 +664,8 @@
config->luserconf = HXmc_strinit(pent->pw_dir);
HXmc_strcat(&config->luserconf, "/");
HXmc_strcat(&config->luserconf, s);
- w4rn("path to luserconf set to %s\n", config->luserconf);
+ if (Debug)
+ w4rn("path to luserconf set to %s\n", config->luserconf);
free(s);
return NULL;
}
+
+ and please remove the "use_first_pass" from "debian/pam-auth-update" the
+ current version does not understand it!
--
libpam-mount ignores debug setting with luserconf
https://bugs.launchpad.net/bugs/373732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list