Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Kerberos Authentification with /etc/cups/printers.conf and Allow User parameter #2670
I use "AuthType Negociate" with cups 1.3.3 and I can connect with firefox or lpstat to my cups server without problems. For example, I can add a printer or modify printer configuration with my "ppetit@MYREALM" account, because of parameter "require user ppetit" in cupsd.conf.
Although, if I want protect access to my printers, I have to indicate logins with the format "login@KDC" with parameter "Allow User" in /etc/cups/printers.conf.
For example, in /etc/cups/printers.conf for any printer :
If I want to use a unix group, it doesn't work.
If I read the sources, scheduler/auth.c or scheduler/quota.c contains :
But, ipp.c and user_allowed function doesn't contain theses instructions.
I think It is not normal.
What do you think about ?
Excuse me for my bad english.
--- ipp.c (revision 7233)
pw = getpwnam(username);