[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xscreensaver and pam-smbpass



I have been having trouble with xscreensaver not unlocking when I use
smb password auth.  I have tried it with pam_smbpass.so and
pam_smb_auth.so, and neither works (although both work fine with a
regular login).  I haven't been able to find anything on this.  Any clues?

Here are the specifics (sorry so long):

Log file with three password auth schemes: pam_smbpass.so, pam_smb_auth.so,
    and pam_unix.so  (Only pam_unix.so works.)

Kernel and package version info:

Linux calvin 2.6.1 #1 Fri Jan 9 15:32:20 MST 2004 i686 GNU/Linux

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  samba-common   2.2.8a-0.1     Samba common files used by both the server a
ii  xscreensaver   4.14-4         Automatic screensaver for X
ii  xfree86-common 4.2.1-6        X Window System (XFree86) infrastructure
ii  libpam-modules 0.76-9         Pluggable Authentication Modules for PAM
ii  libpam-runtime 0.76-14.1      Runtime support for the PAM library
ii  libpam-smb     1.1.6-1.1woody Pluggable Authentication Module allowing Sam
ii  libpam-smbpass 2.2.3a-12.3    pluggable authentication module for SMB pass
ii  libpam0g       0.76-15        Pluggable Authentication Modules library

Contents of pam.d/common-auth
# Note only one uncommented at a time. Normally use pam_smbpass.so
#auth	required	pam_unix.so debug
auth       required     pam_smbpass.so debug,nodelay
#auth       required     pam_smb_auth.so debug

Relevent log excerpts:

====
First:	using auth by pam_smbpass.so
xscreensaver: 16:40:47: pam_start ("xscreensaver", "chris", ...) ==> 0 (Success)
xscreensaver: 16:40:47:   pam_set_item (p, PAM_TTY, ":0.0") ==> 0 (Success)
xscreensaver: 16:40:47:   pam_authenticate (...) ==> 10 (User not known to the underlying authentication module)
xscreensaver: 16:40:47:   pam_set_item(p, PAM_USER, "root") ==> 0 (Success)
xscreensaver: 16:40:47:   pam_authenticate (...) ==> 10 (User not known to the underlying authentication module)
xscreensaver: 16:40:47: pam_end (...) ==> 0 (Success)
xscreensaver: 16:40:47: password incorrect!


====
Second:	using auth by pam_smb_auth.so
xscreensaver: 16:41:00: pam_start ("xscreensaver", "chris", ...) ==> 0 (Success)
xscreensaver: 16:41:00:   pam_set_item (p, PAM_TTY, ":0.0") ==> 0 (Success)
xscreensaver: 16:41:00:     PAM ECHO_OFF("Password: ") ==> password
xscreensaver: 16:41:00:   pam_authenticate (...) ==> 9 (Authentication service cannot retrieve authentication info.)
xscreensaver: 16:41:00:   pam_set_item(p, PAM_USER, "root") ==> 0 (Success)
xscreensaver: 16:41:00:     PAM ECHO_OFF("Password: ") ==> password
xscreensaver: 16:41:00:   pam_authenticate (...) ==> 9 (Authentication service cannot retrieve authentication info.)
xscreensaver: 16:41:00: pam_end (...) ==> 0 (Success)
xscreensaver: 16:41:00: password incorrect!


====
Third:	using auth by pam_unix.so
xscreensaver: 16:41:12: pam_start ("xscreensaver", "chris", ...) ==> 0 (Success)
xscreensaver: 16:41:12:   pam_set_item (p, PAM_TTY, ":0.0") ==> 0 (Success)
xscreensaver: 16:41:12:     PAM ECHO_OFF("Password: ") ==> password
xscreensaver: 16:41:12:   pam_authenticate (...) ==> 0 (Success)
xscreensaver: 16:41:12:   pam_setcred (...) ==> 0 (Success)
xscreensaver: 16:41:12: pam_end (...) ==> 0 (Success)
xscreensaver: 16:41:12: password correct.


-- 

Chris Harris <charris@rtcmarketing.com>
-------------------------------------------
GNU/Linux --- The best things in life are free.



Reply to: