[Bug 283811] Re: cups says "can't promp for authorization" when printing to my samba printer
Paul Dufresne
dufresnep at gmail.com
Tue Apr 28 15:19:03 BST 2009
What does puzzle me more about Derg log, is not that Tree connect failed, it is that it tried to connect with a user I did not expect, marie:
D [27/Apr/2009:08:52:45 -0400] cupsdIsAuthorized: requesting-user-name="marie"
D [27/Apr/2009:08:52:45 -0400] cupsdProcessIPPRequest: 7 status_code=0 (successful-ok)
D [27/Apr/2009:08:52:45 -0400] cupsdAcceptClient: 8 from localhost (Domain)
D [27/Apr/2009:08:52:45 -0400] cupsdReadClient: 8 POST /printers/Canon-i950-JG HTTP/1.1
D [27/Apr/2009:08:52:45 -0400] cupsdAuthorize: No authentication data provided.
D [27/Apr/2009:08:52:45 -0400] Print-Job ipp://localhost/printers/Canon-i950-JG
D [27/Apr/2009:08:52:45 -0400] [Job ???] Auto-typing file...
I [27/Apr/2009:08:52:45 -0400] [Job ???] Request file type is application/postscript.
E [27/Apr/2009:08:52:45 -0400] Print-Job: Unauthorized
D [27/Apr/2009:08:52:45 -0400] cupsdSendError: 8 code=401 (Unauthorized)
I was expecting it to use user 'guest'.
Trying to figure out where it took marie, I can only see this from the log:
D [27/Apr/2009:08:52:45 -0400] [Job 77] envp[9]="SERVER_ADMIN=root at marie-desktop"
Also, someone on the forums, seems to have come with a work-around that, consisting of replacing the machine
name by it's IP address, with success:
http://ubuntuforums.org/showthread.php?p=7023893
But maybe it is trying to use marie only because anonymous access failed?:
{'printer_is_remote': False}
Page 6 (Check network server sanity):
{'remote_server_name_resolves': ['192.168.0.3', '192.168.0.3', '192.168.0.3'],
'remote_server_smb': True,
'remote_server_smb_share_anon_access': (13, 'Permission denied'),
'remote_server_smb_shares': [<smbc.Dirent object "print$" (File share) at 0x973a8d8>,
<smbc.Dirent object "IPC$" (IPC share) at 0x973a8f0>,
<smbc.Dirent object "Canon-i950" (Printer share) at 0x973a908>,
<smbc.Dirent object "shared" (File share) at 0x973a920>],
'remote_server_try_connect': '192.168.0.3'}
Page 7 (Printer state reasons):
{'printer-state-message': u'Tree connect failed (NT_STATUS_ACCESS_DENIED)',
'printer-state-reasons': [u'none']}
I really feel like a magic apprentice not knowing what he is doing here...
Guess I should shut up a bit and wait for more knowledgeable people to kick in.
** Also affects: samba (Ubuntu)
Importance: Undecided
Status: New
--
cups says "can't promp for authorization" when printing to my samba printer
https://bugs.launchpad.net/bugs/283811
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list