Cups Connection Failed With Error Nt_status_unsuccessful
Contents |
"client-error-not possible" kristamaranathaJanuary 13th, 2012, 07:40 PMHello, I have been using Ubuntu for exactly 2 days. I've always used Windows, and while I've been wanting to learn Linux unable to connect to cifs host ubuntu I just never got around to it. Until I accidentally deleted Windows unable to connect to cifs host will retry in 60 seconds off one of our laptops. So I used Ubuntu Live CD and now that laptop runs Ubuntu, while the computer unable to connect cifs host printer with the printer I am trying to connect to runs Windows XP. When I try to add a printer in Ubuntu (printer wizard?) I get the error: CUPS server error There was
Connection Failed: Nt_status_unsuccessful
an error during the CUPS operation: "client-error-not-possible" The printer is an HP Deskjet 3745 Is there something I need to install on Windows to make this work? I already installed Samba. Thanks! lechien73January 13th, 2012, 08:49 PMHi and welcome to the forums, If the printer is shared on a Windows PC, then you need the "smbclient" package. Try opening a terminal window (Ctrl+Alt+T) and typing: session setup failed nt_status_logon_failure sudo apt-get install smbclient You will need to enter your password - it won't be visible while you type. When the package is installed, try adding the printer again. kristamaranathaJanuary 13th, 2012, 10:01 PMI have done this, and it is still not working... I found some instructions here: http://www.liberiangeek.net/2011/10/first-30-days-with-ubuntu-11-10-oneiric-ocelotday-four/ ...but how do I find the path I am supposed to type into the SMB Printer box? lechien73January 13th, 2012, 10:28 PMThe path is the MACHINE_NAME/SHARED_PRINTER_NAME. I would advise that you re-share the printer on the XP machine so that it doesn't have any spaces - so, for example, give it the sharename of HPDeskJet. So, for example, if your XP machine is called PrinterServer, then the SMB path would be: PrinterServer/HPDeskJet Put the local administrator username and password for the XP box into the authentication section. kristamaranathaJanuary 13th, 2012, 10:45 PMSo I renamed the computer and the printer, reestablished sharing of the printer, then went and typed in computer/deskjet3745 (new names) in the SMB Printer window. I hit "verify" and it said "Print share inaccessible." When I go to Printer Properties, under Printer State it says "Processing - connection failed: NT_STATUS_UNSUCCESSFUL" kristam
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian Trying to print to windows printer, getting an error. User Name Remember Me? Password Debian This forum is for the discussion of Debian Linux. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to https://ubuntuforums.org/archive/index.php/t-1908495.html LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users http://www.linuxquestions.org/questions/debian-26/trying-to-print-to-windows-printer-getting-an-error-292735/ as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 02-20-2005, 04:39 PM #1 Royle Member Registered: Apr 2004 Posts: 112 Rep: Trying to print to windows printer, getting an error. I'm trying to set up printing to my Windows XP computer. The Printer is shared as LJ and the computer's name is dave. The device is configured at smb://dave/LJ . I can't print using the command lp
message: Installing CUPS printer drivers on WinXP clients... Next message: Is it possible to cutsomize the cups web interface Messages sorted http://lists.cups.org/pipermail/cups/2005-January/003440.html by: Date Thread Subject Author -----BEGIN PGP SIGNED MESSAGE----- https://lists.samba.org/archive/samba/2005-April/104366.html Hash: SHA1 Lorenzo wrote: | Jerome Alet wrote: | |>On Tue, Dec 07, 2004 at 07:53:00AM -0500, Riyaz at easysw.com wrote: |> |>>I have two computers here, with one running win xp. The printer is |>>connected to unable to the computer running winxp. I have shared the computer |>>with xp, with the share name printer. |>> |>>The other computer runs linux, (fedora core 3). I tired running |>>cups with smb://192.168.0.1/printer |>> |>>but when i try to print cups displays |>> |>>Connection failed with error NT_STATUS_UNSUCCESSFUL |> unable to connect |>I think you should pass an username and password as part of the |>smb:// url to access the printer share from your CUPS box |> |>I don't remember the exact syntax though, but it certainely is |>in CUPS' documentation |> |>hoping this helps |> |>Jerome Alet |> | | | The syntax is: | smb://user:pass@server/share | | I tried it, but I receive the same error message. However, print job appears on Windows print manager, but printing never starts. It's a different problem? Try this: smb://user:passwd@group/host/printer Sds, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQEVAwUBQfgoNGYtrF/U4ofIAQLqiAgAm5s8KrHxT+CY7ZmX9zIDyq3ADUw2M4MK 9xzDci1MoIvsZwzHpk7Xcz0WNdyNGV0bOrpM8hNbrdVDph54Tgiit4QYwN/fmRu1 2y+I7iZ+vWB1JJVoYIaiiNH8zTPaMoz+28LAFaaX2Pl7JWt5bytWGYZoREM55r1q u027f3Zy11eh9yUM+2YQrqKOzjjjIFPMtPAs+vwB3FZ7ZWR+GJaKxyBt99ArHmkE /NbhKfFI0r4Vv7HhMYUql96jEB4T7UHtlp2LEN6R2fgGLxp7MvsbAi/EMN669njx Ph8CvvxQP4fVq3DwR6Siyr7aINyiWAefQIP0UKYxn7NV3w8hTf6Y0g== =Y4CP -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: rsalles.vcf Type: text/x-vcard Size: 340 bytes Desc: not available URL:
were to look? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Matt Price wrote: > Hi folks, > > I'm trying to access a shared printer on a windows machine. The > windows box (call it "Doze") is located behind a router/printserver, > and is set up thus: > > -DOZE connects to the printer via the printserver using the PRTMATE > port, and then shares the printer via smb -- workgroup CHASS, server > name HIS-FACLAB, printer name his-fac-lex > -Router forwards all incoming connections on 137,138,139,445, and 1024 > to DOZE > > My linux box (Anarres) is outside the router, but I can browse the > router's network easily using Smb4K. I can access all SMB "Shares" on > DOZE without any problems, and when browsing can see the printer, > which smb4K tells me is //HIS-FACLAB/his-fac-lex. But when I try to > print to the printer (using either CUPS with URI > smb://HIS-FACLAB/his-fac-lex, or the smb4k native browser), I am > unable to do so, and get the error "NT_STATUS_UNSUCCESSFUL". > I'm pretty much entirely ignorant about windows so I'm not so sure > where to go next. can someone point me in the right direction? My guess would be that you can't find the server (netbios name service not working). Run smbclient //server/printer --debuglevel=10 and look for more information surrounding the failure. NT_STATUS_UNSUCCESSFUL is the generic "something went wrong" we use in Samba we we aren't given a specific error back from the server. Or it's not an obvious error such as "out of memory". cheers, jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature Url : http://lists.samba.org/archive/samba/attachments/20050425/cf0eec15/signature.bin Previous message: [Samba] NT_STATUS_UNSUCCESSFUL message-- were to look? Next message: [Samba] NT_STATUS_UNSUCCESSFUL message-- were to look? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the samba mailing list