[Samba] No authentication data provided

Ross Boylan RossBoylan at stanfordalumni.org
Sun Oct 11 16:29:02 MDT 2009


CUPS's error log show many entries per second like this:
D [10/Oct/2009:22:04:31 -0700] cupsdAcceptClient: 27 from localhost (Domain)
D [10/Oct/2009:22:04:31 -0700] cupsdCloseClient: 26
D [10/Oct/2009:22:04:31 -0700] cupsdReadClient: 27 POST / HTTP/1.1
D [10/Oct/2009:22:04:31 -0700] cupsdAuthorize: No authentication data provided.
D [10/Oct/2009:22:04:31 -0700] Get-Printer-Attributes ipp:///printers/rawPrinter
D [10/Oct/2009:22:04:31 -0700] cupsdProcessIPPRequest: 27 status_code=0 (successful-ok)
D [10/Oct/2009:22:04:31 -0700] cupsdCloseClient: 27

Coincident with that, smbd is consuming 15-20% of my (P4) CPU.  Despite
these errors, printing (via Vista client through Samba) works.

Searching reveals some queries about this error message but, to the
extent there are solutions, they seem to be for different problems and
to be resolved by the samba version I'm using.  On Debian GNU/Linux,
current stable release (Lenny):
samba                                         2:3.2.5-4lenny6
cups                                          1.3.8-1+lenny6

Bug https://bugzilla.samba.org/show_bug.cgi?id=6754 has more, including
network traffic showing the client trying to open \\Corn
\rawPrinter and the samba server replying
return code: File not found (pathname error) (0x0000002)

I haven't been able to find any info on the relation between CUPS and
Samba authentication, though I assume those are two separate issues.
Users have been browsing to shared drives to get the credentials in.

smb.conf includes

   printing = cups
   printcap name = cups

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

Is guest ok = no a problem?



More information about the samba mailing list