You are not logged in.

#1 2014-05-19 07:43:32

Osiris
Member
Registered: 2003-01-18
Posts: 157
Website

CUPS client not sending correct username

Hello,

I already tried to raise that on cups and cups-devel mailing lists, but got no response at all.

I use the current cups 1.7.2 for my university network. My local username is florian and printers are successfully discovered using cups-browsed and avahi. My username that is permitted to print is lindnefn. User in client.conf is set.

florian@asaru ~ % cat /etc/cups/client.conf
# see 'man client.conf'
ServerName /var/run/cups/cups.sock #  alternative: ServerName hostname-or-ip-address[:port] of a remote server
User lindnefn

florian@asaru ~ % cat ~/.cups/client.conf
User lindnefn

If I go the cups webinterface on localhost it displays florian as user name on the queue. My print jobs are permission denied from the remote cups server. Printing on non restricted printers works.

What could be wrong here?

Thanks a lot!

Offline

#2 2014-05-19 14:38:09

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: CUPS client not sending correct username

Maybe the printer needs to be added with your username included. Something like:

http://lindnefn@password:10.77.88.22:631/printers/university_printer


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-05-19 14:43:10

Osiris
Member
Registered: 2003-01-18
Posts: 157
Website

Re: CUPS client not sending correct username

That would probably work, but I would prefer using the auto-discovery (cups-browsed) feature without manually adding each printer.

Thx!

Offline

Board footer

Powered by FluxBB