GUI Printer Configuration doesn't use PAM/LDAP

Bug #268189 reported by LinuxKrn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
New
Medium
Tim Waugh

Bug Description

Binary package hint: system-config-printer-gnome

Ubuntu 8.04.1
system-config-printer-gnome 0.7.81+svn1976-0ubuntu9

The gnome printer configuration is not LDAP/pam aware and only checks local files for group/passwords.

I am using LDAP for authentication. My user is in the "admin" group and has permissions via sudo. Other authentication systems on ubutnu hardy (8.04.1) work as expected.

When I try to make a change via the GUI tool, I get prompted with "Password for <username> on localhost?"

It does not accept my password, nor root password.

Problem:
system-config-printer appears to check /etc/group for admin group membership, instead of using system calls to pam. Since I am using LDAP, my admin group doesn't exist in /etc/group but via LDAP.

Again, all other ubuntu administration works via pam/LDAP. (sudo/gksudo, update manager, etc) And I have verified that my user is a member of admin (group 115) via 'id' and 'getent group admin' via shell.

Workarounds:

1) If I manually set a local admin group in the file /etc/group, add my username to it, then it works. LDAP already has an admin group and therefore the desired list of members have to be manually set on each box.

2) If I run gksudo system-config-printer, this uses gksudo that works with PAM/LDAP to bypass the bug.

Thanks

Changed in system-config-printer:
assignee: nobody → twaugh
importance: Undecided → Medium
milestone: none → ubuntu-8.10-beta
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.