[Bug 375569] Re: gnome-screensaver failure - can't access samba password database - not running as root

AlainKnaff 375569 at bugs.launchpad.net
Thu Oct 13 14:08:12 UTC 2011


> The thing is, this isn't really a bug at all. gnome-screensaver is working exactly as it's supposed to, as is pam_smbpass; it 
> just logs (at severity LOG_DEBUG) a notice that the smbpasswd database is not being updated, because the process isn't 
> running as root.

The issue is that this is being called from each executable that uses
pam, including those that don't have the right to change samba
passwords, such as squid_auth, or vsftpd. The effect is not only log
spam, but also authentication failures (in case of vsftpd: bug #723603).

Solution:

Remove the following lines from /usr/share/pam-configs/smbpasswd-migrate
and re-run pam-auth-update :

Auth-Initial:
        optional                        pam_smbpass.so migrate
Auth-Final:
        optional                        pam_smbpass.so migrate

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/375569

Title:
  gnome-screensaver failure - can't access samba password database - not
  running as root

Status in “samba” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: gnome-screensaver

  Entry in auth.log after I logged back in to a locked screen.

  May 12 17:55:32 wt gnome-screensaver-dialog: pam_smbpass(gnome-screensaver:auth): Cannot access samba password database, not running as root.
  May 12 17:55:32 wt gnome-screensaver-dialog: gkr-pam: unlocked 'login' keyring 

  
  I got logged in but think something is wrong with the way that gnome-screensaver-dialog is access password db's.

  Can you help?

  (No updates pending for Ubuntu 9.04)

  ProblemType: Bug
  Architecture: i386
  DistroRelease: Ubuntu 9.04
  ExecutablePath: /usr/bin/gnome-system-log
  Package: gnome-utils 2.26.0-0ubuntu1
  ProcEnviron:
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-utils
  Uname: Linux 2.6.28-12-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/375569/+subscriptions




More information about the foundations-bugs mailing list