[cups.general] cups-1.1.22rc1 - Pausing via samba unauthorized depending on order of SystemGroup conf

Kurt Pfeifle k1pfeifle at gmx.net
Thu Oct 14 12:40:06 PDT 2004


On Thursday 14 October 2004 20:23, daniel.jarboe at custserv.com wrote:

> > Have you tried to get a debuglevel >=3 (you may need 10)
> > to see what credentials the clients really submit to Samba,
> 
> Yes, and out of the box the Samba debug is a little sparse here:
> 
> [2004/10/14 13:14:27, 5] printing/print_cups.c:cups_queue_pause(1155)
>   cups_queue_pause(2)
> [2004/10/14 13:14:27, 0] printing/print_cups.c:cups_queue_pause(1223)
>   Unable to pause printer test - client-error-not-authorized

Which debug level is this? "Out of the box" is what your
smb.conf says...

But did you know that you can increase the log level of any
smbd process (or even a subsystem like auth) with the
"smbcontrol" command without editing smb.conf and restarting
smbd. This is really nice for debugging (and sometimes I wished
CUPS had a similar facility...)      ;-)

Try this:

   smbcontrol smbd debuglevel

It asks for the current debug levels of the smbd subsystems.
Or this:

   smbcontrol smbd debug 10

It will send a signal to all running smbd processes to tell
them to increase their log level to 10. This one sets debug
levels selectively different for various subsystems of Samba:

   smbcontrol smbd debug "printdrivers:5 sam:10 auth:10 idmap:10 acls:3"

Maybe this can help you to find out more...

Cheers,
Kurt





More information about the cups mailing list