Comment 0 for bug 564842

Revision history for this message
Hernando Torque (htorque) wrote :

Binary package hint: samba

With winbind installed I cannot abort a sudo password request (gnome-terminal and VT) with a single Ctrl-C key combo. Instead the password prompt is shown again. Pushing either Ctrl-C a second time or the enter key brings me back to the prompt:

test@box:~$ sudo echo "foo"
[sudo] password for test: // Ctrl-C
[sudo] password for test: // Ctrl-C or enter key
test@box:~$

I've found out that this behavior is caused by the changes made to /etc/pam.d/common-auth:

*) common-auth without windbind:

auth [success=1 default=ignore] pam_unix.so nullok_secure
auth requisite pam_deny.so
auth required pam_permit.so

*) common-auth with winbind installed:

auth [success=2 default=ignore] pam_unix.so nullok_secure
auth [success=1 default=ignore] pam_winbind.so krb5_auth krb5_ccache_type=FILE cached_login try_first_pass
auth requisite pam_deny.so
auth required pam_permit.so

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: winbind 2:3.4.7~dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Apr 16 18:50:28 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions:
 nautilus 1:2.30.0-0ubuntu4
 gvfs 1.6.0+git20100414-0ubuntu1
SambaClientRegression: Yes
SourcePackage: samba