[cups.general] authentication problem

Michael R Sweet msweet at apple.com
Fri Oct 3 09:27:48 PDT 2008


baptiste delporte wrote:
> Hi,
> 
> I'm new to CUPS and actually trying to set up a complete configuration with OpenLDAP.
> 
> I've been searching in CUPS help pages and tried many options since 2 days, but haven't found any clear answer to my problem.
> Several printers are defined in my printers.conf, I'm using authentication against LDAP to allow my users to use some printers, and leave the others printers for another departement.
> 
> I've set up the 'Require' option as follows :
> 
> <Location /printers/myprinter1>
> <Limit ALL>
> AuthType Basic
> Order Deny,Allow
> Allow From All
> Require group group1 group2
> </Limit>
> </Location>
> 
> I've configured my CUPS server as an LDAP client, and authentication works fine for authorized users,
> they appear in access_log and can print. When I try to print using a login which belongs to an unauthorized
> group, the access_log file endlessly fills with that error message :

Verify the settings in the /etc/nsswitch.conf file - CUPS depends on
getgrnam to work, and that depends on /etc/nsswitch.conf.  Make sure
ldap is listed on the groups: line.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list