Hi I have Kubuntu 8.04 and I think I have the same problem. I cannot print with cups with none of the printers of my school, I don't receive any error messages but nothing get printed. I tried to install a printer with kcontrol, gnome-cups-manager, by going to localhost:631
I can print plain text by doing something like this : echo Hello | smbclient "//SOFRPS01/MF_C-D20_PS" -c "print -" -U sofr/utilisateur%motdepasse -N But I would also print documents. Here is the end of my file /var/log/cups/error_log: E [09/Mar/2008:15:22:20 +0100] [Job 6] Unable to connect to CIFS host, will retry in 60 seconds... E [09/Mar/2008:15:23:24 +0100] [Job 6] Unable to connect to CIFS host, will retry in 60 seconds... E [09/Mar/2008:15:24:27 +0100] [Job 6] Unable to connect to CIFS host, will retry in 60 seconds... E [09/Mar/2008:15:25:27 +0100] [Job 6] Unable to connect to CIFS host after (tried 3 times) E [09/Mar/2008:15:25:27 +0100] PID 10980 (/usr/lib/cups/backend/smb) stopped with status 1! If I set loglevel to debug, I get: D [09/Mar/2008:15:36:18 +0100] CUPS-Get-Default D [09/Mar/2008:15:36:18 +0100] CUPS-Get-Default client-error-not-found: Pas d’imprimante par défaut D [09/Mar/2008:15:36:18 +0100] cupsdProcessIPPRequest: 12 status_code=406 (client-error-not-found) D [09/Mar/2008:15:36:18 +0100] cupsdCloseClient: 12 D [09/Mar/2008:15:36:18 +0100] cupsdAcceptClient: 12 from localhost (Domain) D [09/Mar/2008:15:36:18 +0100] cupsdReadClient: 12 POST /printers/ HTTP/1.1 D [09/Mar/2008:15:36:18 +0100] cupsdAuthorize: No authentication data provided. D [09/Mar/2008:15:36:18 +0100] Get-Printer-Attributes ipp://localhost:631/printers/MF_C-D20_PS D [09/Mar/2008:15:36:18 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok) D [09/Mar/2008:15:36:18 +0100] cupsdCloseClient: 12 D [09/Mar/2008:15:36:18 +0100] cupsdCloseClient: 9 D [09/Mar/2008:15:36:18 +0100] cupsdAcceptClient: 9 from localhost (Domain) D [09/Mar/2008:15:36:18 +0100] cupsdReadClient: 9 POST / HTTP/1.1 D [09/Mar/2008:15:36:18 +0100] cupsdAuthorize: No authentication data provided. D [09/Mar/2008:15:36:18 +0100] Get-Printer-Attributes ipp://localhost/printers/MF_C-D20_PS D [09/Mar/2008:15:36:18 +0100] cupsdProcessIPPRequest: 9 status_code=0 (successful-ok) D [09/Mar/2008:15:36:18 +0100] cupsdReadClient: 9 GET /printers/MF_C-D20_PS.ppd HTTP/1.1 D [09/Mar/2008:15:36:18 +0100] cupsdAuthorize: No authentication data provided. D [09/Mar/2008:15:36:18 +0100] cupsdAcceptClient: 12 from localhost (Domain) D [09/Mar/2008:15:36:18 +0100] cupsdReadClient: 12 POST / HTTP/1.1 D [09/Mar/2008:15:36:18 +0100] cupsdAuthorize: No authentication data provided. D [09/Mar/2008:15:36:18 +0100] Get-Jobs ipp://localhost:631/printers/MF_C-D20_PS D [09/Mar/2008:15:36:18 +0100] cupsdProcessIPPRequest: 12 status_code=0 (successful-ok) D [09/Mar/2008:15:36:18 +0100] cupsdCloseClient: 12 dmesg tell me: [ 1000.316480] audit(1205073421.247:242): operation="inode_permission" request_mask="::r" denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=12206 profile="/usr/sbin/cupsd" namespace="default" [ 1001.145016] audit(1205073422.075:243): operation="inode_permission" request_mask="::r" denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=12206 profile="/usr/sbin/cupsd" namespace="default" [ 1001.145060] audit(1205073422.075:244): operation="inode_permission" request_mask="::r" denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=12206 profile="/usr/sbin/cupsd" namespace="default" [ 1001.971431] audit(1205073422.903:245): operation="inode_permission" request_mask="::r" denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=12206 profile="/usr/sbin/cupsd" namespace="default" [ 1001.971474] audit(1205073422.903:246): operation="inode_permission" request_mask="::r" denied_mask="::r" name="/var/run/samba/gencache.tdb" pid=12206 profile="/usr/sbin/cupsd" namespace="default" Here is my file /etc/cups/printers.conf # Printer configuration file for CUPS v1.3.6 # Written by cupsd on 2008-03-09 15:10 <Printer MF_C-D20_PS> Info KONICA MINOLTA C352/C300 PS(P) DeviceURI smb://sofr/utilisateur:motdepasse@//SOFRPS01/MF_C-D20_PS State Idle StateTime 1205071843 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job </Printer> I also don't know if cups like very much the slash of "sofr/utilisateur" If I try to install a printer by going to localhost:631, a windows ask me for an username and a password, but the authentification always fails. Then these lines got added in my file /var/log/cups/error_log: D [09/Mar/2008:15:51:55 +0100] [CGI] /usr/lib/cups/cgi-bin/admin.cgi started - PID = 13808 I [09/Mar/2008:15:51:55 +0100] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=13808) D [09/Mar/2008:15:51:55 +0100] cupsdSendCommand: 13 file=17 D [09/Mar/2008:15:51:55 +0100] [CGI] admin.cgi started... D [09/Mar/2008:15:51:55 +0100] cupsdAcceptClient: 16 from localhost (Domain) D [09/Mar/2008:15:51:55 +0100] [CGI] http=0x8079ff8 D [09/Mar/2008:15:51:55 +0100] [CGI] op="add-printer"... D [09/Mar/2008:15:51:55 +0100] [CGI] do_am_printer: DEVICE_URI="smb://sofr/utilisateur:motdepasse//SOFRPS01/MF_C-D20_PS" D [09/Mar/2008:15:51:55 +0100] cupsdReadClient: 16 POST /admin/ HTTP/1.1 D [09/Mar/2008:15:51:55 +0100] cupsdAuthorize: No authentication data provided. D [09/Mar/2008:15:51:55 +0100] CUPS-Add-Modify-Printer ipp://localhost/printers/test D [09/Mar/2008:15:51:55 +0100] cupsdIsAuthorized: username="" E [09/Mar/2008:15:51:55 +0100] CUPS-Add-Modify-Printer: Unauthorized D [09/Mar/2008:15:51:55 +0100] cupsdSendError: 16 code=401 (Unauthorized) D [09/Mar/2008:15:51:55 +0100] cupsdSendHeader: WWW-Authenticate: Basic realm="CUPS" D [09/Mar/2008:15:51:55 +0100] [CGI] cgi_passwd(prompt="Mot de passe pour lp sur localhost? ") called! D [09/Mar/2008:15:51:55 +0100] cupsdSendError: 13 code=401 (Unauthorized) D [09/Mar/2008:15:51:55 +0100] cupsdSendHeader: WWW-Authenticate: Basic realm="CUPS" D [09/Mar/2008:15:51:55 +0100] cupsdCloseClient: 13 D [09/Mar/2008:15:51:55 +0100] PID 13808 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors. D [09/Mar/2008:15:51:55 +0100] cupsdCloseClient: 16 D [09/Mar/2008:15:52:16 +0100] cupsdCloseClient: 9 I noticed than when I go to smb://server/share in konqueror, I get a window asking me for an username and a password, but then I get the following message (that I translate to english) : A problem happened while loading smb://hefrfas01/transfert_ata_hefr$ : No answer from the server hefrfas01 Howewer I can connect to my shares with smb4k. I cannot see the Windows's networks with smb4k or other gui, but only with the command "smbclient -L server -N" Good bye Jonas -- Hardy Heron: Cannot add SMB printer. https://bugs.launchpad.net/bugs/200826 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs