[cups.general] authentication failure / Require group fails

Michael R Sweet msweet at apple.com
Thu Jun 19 12:14:30 PDT 2008


Viktor wrote:
>>> AuthType Basic
>>> Require group Staff
>> Run the following command:
>>
>> grep Staff /etc/group
>>
>> If the command above returns empty, there's your problem.
> 
> authentication on the printserver is done via LDAP, for users and for groups. So, this command returns an empty line, because the group Staff only exists in the LDAP-database and not in /etc/group.
> 
> Does cups only look in /etc/group for members of groups, or does cups also ask the LDAP-server?

CUPS uses getgrnam(), which (on Linux) uses nsswitch.conf to determine
where to get groups.  Make sure the groups line in that file includes
LDAP.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list