Ubuntu :: Cant Print To Windows Shared Printer , Authentication?
Aug 8, 2011
I have a windows 2008 server that has 2 printers attached, both are shared in the same way with the same access rites. One printer I can print to without any issues, I get prompted for my domain username and password then the job is processed, the other I can't print to. When printing a test page cups just ques the job and I get errors in the logs :
E [08/Aug/2011:16:44:39 +1200] [Job 12] Session setup failed: NT_STATUS_LOGON_FAILURE
E [08/Aug/2011:16:44:39 +1200] [Job 12] Session setup failed: NT_STATUS_LOGON_FAILURE
E [08/Aug/2011:16:44:39 +1200] [Job 12] Tree connect failed (NT_STATUS_BAD_NETWORK_NAME)
Yesterday I installed FC13.i636, Gnome 2.30.0, on my Dell Latitude D505 laptop. Fresh install from live CD, single partition. Installed all 400+ recommended updates last night. System is working *very* smoothly.I want to print (wireless connection) to my Canon MP160 printer, which is attached to my WinXP machine, and is set as a Shared printer in WinXP. I can print to it fine with my iBook.I used the System/Admin/Printing app to set up a networked printer, letting the app "find" the printer. Printer now shows in the app as:
lpd://192.168.1.108
I choose the appropriate driver and tried a test page. Test page job results in queue showing job "processing" but nothing comes from printer, even ten minutes later. Printer properties show:
I am trying to set up printing on my Fedora 14 laptop, on my home network.
Details:
- Home network, single subnet, the desktops are connected to the switch portion of my Linksys via Ethernet and all have static addresses. Name resolution between them is via hosts file entries. The router is running wireless (WPA2/AES/DHCP) to accommodate my laptop which is dual boot XP Pro and Linux Fedora 14.
- The printer is an HP Deskjet F4180 printer. It is attached via USB to a Windows XP Pro box and shared. The XP box is wired and static ip.
- I am able to see all the shares and print to the shared printer from any of the Windows boxes, wired and wireless, including my laptop when I run Windows on it.
- My Fedora 14 is working fine on wireless, using Network Manager and KDE desktop. I am able to access all the Windows shares on both of my wired desktops. One desktop is XP Pro, the other is Windows 7.
This is what happens when I try to set up printing on Fedora:
- I go to Administration / Printing and click to Add a Printer. - I am prompted for the root password twice, which I put in. - I select Network Printer / Windows printer via samba and click on Browse... - It finds my WORKGROOUP and machine name mig29 and prompts for user ID and password which I type in.
[code]....
the user ID and logon on Fedora is different from the one on Windows. During setup I am prompted for credentials. It seems to me that somewhere down the line Fedora supplies not the credentials I supply but my local user ID and password and it obviously fails.
A few months ago a client had me build a small file server running OpenSuse for them. They also had me install an HP Designjet 650C on the server and share it on the network for 2 desktops to print to. All went well and there have been zero problems. They use a few specialty apps that don't have good enough FOSS counterparts, so I couldn't talk them into switching the desktops to Linux, although they were very interested in it. One of the desktops runs Vista and has an XP Pro VM on it (they are considering a Linux VM to go with it so they can dip their toes in the water). There was a locally installed HP OfficeJet 5610 on the machine, but printing from the XP VM was a hassle because they had to tell virtualbox to pass the usb interface to the VM, effectively disabling it in Vista. Then to print in Vista again they had to release the interface back to the host OS. The other desktop (running XP) was also unable to print to it. They asked me to install the 5610 on the server and share it like I did the 650C.
Installing it on the server was easy. I just plugged it in and checked to make sure everything was neat and tidy in YaST. It printed flawlessly. I configured the share identically to the way I shared the 650C. I browsed the network from Vista, found the printer, and installed it using Vista's native driver. Then I sent a print to it from Vista and nothing happened. Vista is very slow to communicate with the printer compared to the 650C, but it will eventually report that the print job was successful. The printer never receives the print, though. Where are the print jobs going? The VM and other desktop are as big of a problem. XP does not natively support the 5610, so I have to download a driver from HP's site. The driver uses a stupid binary installer that will not allow the driver to be manually installed. Running the installer works, but the driver will not install until it sees the printer in a usb port. That won't work because we are connecting to it over a network path. Where can I find a driver that can be manually installed?
my 64 bit XP/fedora 12 box prints fine to a shared printer when I am in XP. The HP color lasterjet CP1215 printer is hosted by a 32 bit vista machine. I can located the printer on the network from Fedora 12 using the add a pinter utility, but I cannot print. I get no error message on the linux machine, but the "submitted " dialog box never goes away (not sure if it is supposed to go away). On the vista machine in the printers dialog box it says "remote downlevel document" in the document name section and "0kb" in the size section, then goes away. the printer does not make any noise.
My setup is like this: i have a small office network and i bought yesterday a new multifunctional printer Samsung SCX-4521F. It is shared with samba and connected to the server with USB. In the network everyhing works well, users can log on to the domain, print from windows to the new shared Samsung printer and i even managed to enable network scannin. But when i try to print from MS DOS i wont get a single page. We have an accounting program in dos. All the other computers are XP Pro SP3. My server is running for 2 weeks the newest CentOS with all updates. I'v maped the network printer in windows witht the command "net use LPT1 \ServerSCX-4521F. I get a message that maping was completed succesfully. If i start a print job nothing happens. "Printing" or "warming up" flashes several times on the printer and thats it.
CUPS error log: I [02/Apr/2009:00:03:45 +0300] Adding start banner page "none" to job 125. I [02/Apr/2009:00:03:45 +0300] Adding end banner page "none" to job 125.
Installed fedora/configued samba, shared printer and i am not able to access shared printer from any of the fedora machine. I am able to access the printer /shared folder from windows machine. I dont know the process of cups installation.
I have a Brother HL-2140 connected to a Linux box (Ubuntu 10.04 LTS) that I want to share on a Windows 7 home network (wireless). I followed all the configuration instructions as given on Ubuntu Documentation: Network Printing from WindowsXP. From the Windows 7 box I am able to see the printer in a webpage (using the URL). But when I use the same url in the Add Printer Wizard the system says that it couldn't find the printer.
I am currently running Lucid on my system and can't seem to get my printer on a Windows XP computer to print documents sent from my Ubuntu computer. I can see the Windows XP computer in Nautilus under Network and can even access the shared files on the Windows computer with no problem. I have been able to install the Windows shared printer on my Ubuntu computer using System>Administration>Printing>Add>Network Printer>"Windows Printer via Samba" without any error messages. The problem is that whenever I send a printing job to the shared printer, the printer acts like it is going to start printing then automatically stops just right before the paper is going to be fed. I have memorized the noises my printer makes right before the paper gets fed. That is how I know it stalls right before the paper is about to be fed.
When I check the print queue on my Windows computer, its status is "printing", but it never does. I have tried this with two different HP printers (Deskjet 3940 & PSC 1410), and it is the exact same problem on both.
Background: I have a Desktop running Windows 7 Professional that has a Brother HL-2140 laserjet printer attached to it. I can successfully view the Windows 7 shares using SAMBA, but when I choose NETWORK PRINTER > WINDOWS PRINTER via SAMBA > BROWSE, I receive an error "NO PRINT SHARES - There were no print shares found. Please check that the Samba service is marked as trusted in your firewall configuration."
I have no firewall installed, the Windows printer is shared, and before I upgraded to Natty, all worked fine under Ubuntu Maverick. When I run the "testparm" command, I noticed that the line under [printers] states "browseable = No" even though in my smb.conf file it is set to "browseable = yes" (and I have changed/saved this file several times, using "sudo" with the same result).
I would like someone to look over my enclosed settings and see if there is a tweak I need to make in order to browse my Windows 7 shared printer.
I have an old desktop that I'm trying to set up as a home backup/print server. Backup was trivial, but am having issues getting the printing to work. The printer is connected to the server running Ubuntu Server 9.10 (no gui). If I access the printer via http://hostname:631/printers/, I am able to print a test page, so I know the printer is working; however, I am having no luck from Windows. Windows can see the printer when browsed via hostname, but I am unable to connect. Windows says "Windows cannot connect to the printer" without indicating why.
From /etc/samba/smb.conf: [global] workgroup = WORKGROUP dns proxy = no security = user
I have a laptop running Ubuntu 10.04 and my basement computer running Windows 7. I want to be able to access files on on both computers from either. I also want to be able to print from my laptop to the printer attached to the basement computer. I finally got printing working. Then I tackled the filesharing. I finally get filesharing working and now, I can't get printing working again, even though I've gone back to the version of smb.conf that I had when I was able to print. So here is what I've got.
<->testparm Testparm results.txt <-> Printer State
When I look at my printer properties in Ubuntu I see the status: Idle - Unable to connect to CIFS host after (tried 3 times) Cups Error Log When I look at the Printer Error Log, I see: (partial) Printer log extract.txt I can ping the IP address of the windows box 192.168.0.5, but when I try to ping the name owner-pc it fails. This would lead me to beleive that the there is a name resolution problem.
Using openSUSE 11.4 and winXP pro sp3I am a complete noob to linux.I went into YAST2 and added a printer--none were found. I used the connection wizard and selected Print Via Print Server Machine>>Windows or Samba.i entered the winxp info
I want to print from my linux box to my win7 pc that has a shared printer. I have cups installed and tried to add pritner using samba, but was unsuccesful, gave me an error when trying to add. The guide i followed is: Yet another Linux to Windows printing tip -- Debian Admin The printer model is a dell 2330d laser printer, it is not in cups, so i added the ppd file i got off the dell support site. I am aware that there is a native suse driver, but i want to print to the windows printer.If possible I would like to know how to do this via command line instead of the GUI.
Printer directly connected with opensuse 11.2. we cant able to add printer in windows xp if wee add the system says the following error:
Function address 0x2c7d5e4 caused a protection fault. (exception code 0x0000005) The application property sheet page(s) may not function properly. And the system says acces denied unable to connect and the windows system hanging and says error report.
I am sitting with a slight problem sharing some HP network printers (JetDirect) with my windows machines. I have cups 1.4.4 configured on my Debian PDC with samba 3.5.5. The printers in question, is configured in cups and is working perfectly, but for some reason when I try to add the printers from Win7 or Win Vista I get the following error:
"Connect to Printer Windows cannot connect to the printer Operation failed with error 0x00000006"
I had a look around and it seems that the above error code is tied in with incorrect drivers, but the strange thing is that if I create a new local port on the win machines and specify the shared printers they work. The problem then is that cups does not identify the jobs correctly. The job will be named something like "smbprn.00000264 Remote Downlevel Document" instead of the actual document name. One of the reasons for using cups is to be able to monitor printer usage so this option is a temporary solution in my mind. Can the print$ share be causing it although it is empty and no drivers has been uploaded? Neither the samba nor cups logs give me something concrete to work with (hopefully someone else can spot the problem).
Extract from samba log:
[2010/09/30 09:21:01.734938, 2] lib/access.c:406(check_access) Allowed connection from (192.168.1.20) [2010/09/30 09:21:01.740480, 2] lib/access.c:406(check_access) Allowed connection from (192.168.1.20)
I'm giving up in ever hoping that I'll get printing working with windows 7 with the strange comments I've found on the net. Basically I have a samsung ML2240 printer shared on the network, everything can print to it fine except for my windows 7 laptop. It's shared via Samba.
Quote:
Once you have extracted the driver files, copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory exactly as named below:
[Windows 2000 and higher] ps5ui.dll pscript.hlp pscript.ntf pscript5.dll
However after checking this, I dont have the files named within int he correct folder on my windows system :
%WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for 64-bit drivers.I've tried installing the printer via the windows installer, however this adds the driver then tells me its not working and fails to print. I really dont know where to turn with this one. I've tried installing the samsung supplied drivers from the website. However they still fail to connect.
My USB printer is connected to an OpenSUSE 11.2 desktop on a home network. I shared the printer with samba and can print from a Windows XP notebook connected to the network, but whenever I try to connect a Windows 7 machine, I always get the message that Windows cannot connect to the printer.
I have a FC12 machine installed with CUPS and a CUPS-PDF printer. Printer are shared and works fine with this URL:
[URL]
I have both client machine Windows XP and Windows 7. Both has setup the above printer and print fine without any problem. I can get the PDF file from windows test print. The only problem is I face is wait for around 20 seconds for printer dialog prompt out when I press print button in Windows 7. However, my windows XP never t have this problem. The printer dialog prompt out immediately when I press print button.
I have found that there are certain things on the web that I need to print, that simply refuse to work under linux. I have a samba printer server on one of my Slackware boxes and an M$ XP vm under Vbox that can access the server and see the printer. The only problem that I have is that it expects to download a driver from the server which isn't available and the HP driver installer won't install if it doesn't detect the printer. Short of relocating the printer to install the driver, does anyone know how to get the driver installed on the XP host? This is so much easier with my Slack boxes and CUPS!
I have a OpenSUSE 11 machine set up as a domain controller. I have set my printer up to be shared to Windows machines logging into the domain. I was able to install the printer to my Windows machines. When you go to the printers folder in Windows, it shows the printer but says "access denied" instead of the usual "ready". If I print to the shared printer the job will go through. I am thinking it is an authentication issue because if I log into Windows machine as "root" and let it build a profile, the printer doesn't show the "access denied" message. How do I allow other users to have access to the printer?
I have installed Canon ImageRunner 2018i on my linux box using CUPS web interface. When I try to install this as a network printer from a Windows XP machine, the windows XP machine keeps asking me for a device driver. Is there a way to configure the printer on CUPS/Samba so that when I try to install it on Windows XP machine as a network printer, it does not ask me for a device driver?
My wife has a canon MP470 printer and running ubuntu 10.10. I am able to print black and white, but unable to print photos. I got it to work using another driver, but not the 'correct' one for this printer. I have searched a bit and don't see anything about ubuntu 10.10, just older versions. Or should I just network her to my printer....?
Our one remaining problem seems to be printing. She has an HP OfficeJet 6500 USB printer. We have the computer conntected. Strangely, when I boot from the CD the printer shows up as installed even though I did nothing to install it. After having submitted a print job it shows the printer status as "idle" and the print queue is empty. I tried deleting that printer and re-installing. The installation went as one would expect. However the results are the same. I'm beginning to think that somehow the problem is related to the fact that we are operating from the live CD. getting this thing to print from the live CD.
Heres what I have and what I am looking to do. I have a PC with a single core 2 Ghz Pentium processor and 1 gb of RAM. Its pretty limited in what it can do and run. It has two physical HDDs one a 250 GB SATA and the other a 160GB SATA. One the two hard drives I have the following partition structure:
160 GB HDD 28 GB Ubuntu OS Partition 2 GB Swap Partition 130 GB Free Partition (EXT4 but empty) 250 GB HDD 250 GB Free Partition (EXT4 but empty)
What I would like to do is the following: 1. Strip down Ubuntu 10.04 to where only the bare minimums run and system resources (Since they are so scarce on this system anyway) be readily available 2. Have the system run solely as a Samba File server for all other computers in the house to read and write to 3. Allow other "known" systems to access the shared folder without authentication, but any system with an unknown name, should have to authenticate first 4. Have the 130 GB from HDA and 250 GB from HDB, be presented as one network drive of 380 GB as opposed to two of 130 and 250 gb respectively
Are these things that are possible for a person of mid level understanding of Linux? How would one set about achieving all of the above goals?
My LaserJet is connected to an old desktop machine that has it shared. The configuration on that desktop is correct, since I have been printing through it from other Windows machines for a long time (and it still works now).
I recently started dual-booting Ubuntu 10.10 on my otherwise Windows laptop, and I've gotten everything basically working how I like it, except that I can't get connected to that printer.
The Vista machine is at IP address 192.168.0.103, and the printer is shared as LaserJet. It's set up with workgroup MSHOME.
When I go to add a printer in Ubuntu, I click the Browse button under "SMB Printer," and I see the MSHOME workgroup, but when I try to expand it, there's nothing inside.
If I try to type in the address directly (smb://192.168.0.103/LaserJet), the Verify button tells me "Print Share Inaccessible, Connection timed out." Note that I can ping 192.168.0.103 fine. I can continue through the rest of the wizard, but I obviously can't print anything out after I finish the setup, since the connection is failing for some reason.
There is no username or password required to see the shared printer.
Any idea what could be going on here? I'm kind of at wit's end here, and I'd love to be able to ditch Windows--with the obvious exception of Starcraft II, of course
I had a box running 9.04 that I upgraded to 9.10 and I cannot print or browse to shared drives from my iMac. I have several other Macs and PCs that work fine. This was the first that I setup to print on 9.04. I have attempted everything that I can find including installing in CUPS, using the ip address, etc. I can browse to workgroup and I see the computer but when I try to use either USERID guest or userid/passwd - I get no response.
I looked in the /var/log/samba for this computer and here is what I am getting for an attempt: [2010/02/04 12:09:08, 1] ../librpc/ndr/ndr.c:374(ndr_pull_error) ndr_pull_error(11): ndr_pull_advance by 469762046 failed [2010/02/04 12:09:08, 1] ../librpc/ndr/ndr.c:374(ndr_pull_error) ndr_pull_error(11): Pull bytes 2 [2010/02/04 12:09:08, 0] rpc_server/srv_pipe.c:2332(api_rpcTNP) api_rpcTNP: srvsvc: SRVSVC_NETSHAREENUMALL failed.
I have a file server running 11.04 w/ a shared printer connected to it, all my windows machines see it as shared & connect to it no prob. My laptop running the same OS 11.04 can see all the shares but no printer?
I cannot print pdf files. I click print in evince everything seems ok but nothing comes out on the printer. I receive no error. I have a HP printer (LasterJet 3005n) attached over a network. I am running 9.10 on a Dell Optiplex. I did not have this problem in 9.04. I had this problem immediately after I did a fresh install of 9.10. I can print open office documents without any problem, just not pdfs. I have the same problem with my serval laptop (also running 9.10).