Server :: Unable To Add Samba 3.5.5 Shared Printer To Windows
Sep 30, 2010
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)
[code]....
View 2 Replies
ADVERTISEMENT
Feb 27, 2010
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?
View 7 Replies
View Related
Mar 23, 2010
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.
View 4 Replies
View Related
Oct 20, 2010
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!
View 2 Replies
View Related
Jul 28, 2009
Just recently got a few printers connected to the network at my shop and I've managed to get them connected in with samba for the linux clients. Whenever I try to print from one of the clients, the printer will click on and whiz away, but only prints on the first page stuff that looks like this:
Code:
%!PS-Adobe-3.0
%%BoundingBox: 38 24 574 768
%%Title: Enscript Outpu
%%For: User N
It seems to me that the printer isn't processing the postscript data properly (or I'm just not sending it in the right format) but I'm at a loss as to how to go about fixing it.
View 4 Replies
View Related
Aug 20, 2009
How to configure samba, cups, whatever else is necessary to turn centOS into a print server that provides the print driver to any client adding a printer shared from the server? For example, I have a Xerox Phaser 6125n and I was able to configure my server to share the printer for clients on the network, but I still have to have the driver available on each client that uses the printer. I want to be able to put the driver on the server and provide it automatically to any client who installs the printer.
Also, this is not as important but rather just an annoyance, I am having an issue with samba that I can't figure out. I have user shares set up on the server but the first time any user accesses their personal share they need to provide their password. How can I set up user mapping between linux and windows accounts so that authentication is automatic? I've done this in the past with Fedora Core 2, but that was a long time ago and the same doesn't work on centOS.
View 3 Replies
View Related
Sep 18, 2009
I have a Centos 5.3 server with Samba file shares and a shared Samba printer. I am not running a domain.
I recently changed my windows desktop pc from an XP machine to a vista 64 machine... It has a different user name. Everything went pretty smoothly - and the and the vista machine found the smba printer - and even downloaded the driver from the samba server. he printer works OK - and the file shares are fine.
The only thing which is quite odd - is that the Printer Properties dialogue takes more than 30 seconds to come up - and every action you attempt with the dialogue takes a similar amount of time.
I will include below the essence of my smb.conf:
View 3 Replies
View Related
Apr 30, 2009
I have everything networked properly, as far as I can tell, both computers see each other... I can use putty to port in and use my Linux machine (Debian 4). When I go to map network drive on my XP machine, I can see the computer, but not the shared folder. After some googling I found that i have to create my Windows user name ont he Linux machine as a user as well. Unforunately, that user is 'Administrator'. So I told Linux to force user, and it created it, and did smbpasswd command and added the user to the samba list. Still nothing.
View 14 Replies
View Related
Nov 23, 2009
I just upgrade to Fedora 11.
I have problem in installing the printer, no matter add printer in local network or Windows Printer via Samba.
The summary is as follow:
I have download a printer driver and had installed but got error when I tried to printer a test page.
View 6 Replies
View Related
Dec 15, 2010
I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.
View 6 Replies
View Related
Oct 2, 2009
In my samba configuration, I have a strange share.
Share name: MyPrinter
Shared folder: /var/spool/samba
comment = lp
read only = No
print ok = Yes
The spool directory /var/spool/samba has been shared as a printer. What will be the harm caused by it? (I don't know who shared such). And I also wanted to know the security issue due to it..
View 1 Replies
View Related
Nov 14, 2010
I am trying to access a shared printer from one Ubuntu PC to another.
On the Server PC, I have the printer working, I have set it to shared, and I have set the server setting to Publish shared printers. I can see and use the printer fine from a windows PC.
On my Ubuntu Client PC, I have samba installed, including smbclient, and all other samba components I can think of. I can see other computers on my home workgroup (Windows and Ubuntu fine). I can also add a printer connected to my windows PC. However I cannot find the printer connected to the other ubuntu PC.
I see the instruction in the Samba guide saying
"Now enter your Ubuntu Samba Print Server (set up as above) IP address in the box on the left titled "smb://"."
However I do not have fixed ip addresses, so what am I supposed to enter in the box. If I enter nothing I can browse the network and can see the host computer, but the printer is not displayed. I can also see the printer connected to the windows PC. How do I 'see' the Ubuntu printer?
View 2 Replies
View Related
May 24, 2009
I'm trying to set up a Samba printer in Debian linux. The printer is being shared by a computer running windows vista. Some of the information I've got in the process. Sharing seems to be working, the printer seems to be detected and authenticating (I've tried invalid values and the utility I'm using to set things up says it cannot verify when I use invalid values, but with things as they are it claims everything checks out).
When I go into CUPS it says it detects the printer and everything is working. However, printing a test page causes the job to be immediately complete and nothing happens. It seems that the job is getting lost somewhere in the process. Could it be a firewall issue? I feel like the right ports must be unblocked since I can query the computer and verify the printer, etc. I have a laptop with vista which I installed a printer on and was able to print to that computer just fine. So it doesn't seem to be a Vista thing.
Code:
Domain=[OFFICECOMPUTER] OS=[Windows Vista (TM) Home Premium 6000] Server=[Windows Vista (TM) Home Premium 6.0]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
D$ Disk Default share
HP Deskjet D1500 series Printer HP Deskjet D1500 series
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
session request to 192.168.0.10 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available
Code:
OfficePrinter (Default Printer) Description: Location:
Printer Driver: HP Deskjet d1500 Series hpijs, hpijs 3.9.2
Printer State: idle, accepting jobs, published.
Device URI: smb:///192.168.0.10/HP%20Deskjet%20D1500%20series
Code:
ID* Name* User* Size* Pages* State* Control*
OfficePrinter-6* Test Page* anonymous* 17k* Unknown* completed at
Sat 23 May 2009 08:28:39 PM CDT
View 2 Replies
View Related
Nov 5, 2009
I'm using Ubuntu 9.04 and i've installed my HP Printer and SAMBA successfully. Windows XP clients on my network can successfully print through this shared printer. My problem is, is there a way to put a security password or some sort of authentication before they can print? its because this printer is only dedicated to one department only.
View 2 Replies
View Related
Jul 21, 2010
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.
View 1 Replies
View Related
Aug 19, 2010
how to get clients connecting to an office printer. during a migration from windows server to debian/samba.
We have:
5 windows XP machines one Windows Server 2003 machine, PDC of the old domain One debian Samba PDC (of TEST domain)/print server (with CUPS installeD) running in a virtual machine hosted by the windows server One Toshiba eStudio 3511 printer
Using the CUPS control panel, I've been able to autodetect and add the printer, and it appears as an available share in SWAT for samba. However, the driver isn't perfect. CUPS could only supply drivers for the 3510c, not the 3511.
However, clients on the TEST domain are unable to access it. Doing so gives an error about a local policy preventing a connection to the print queue. I've tried googling this error and the fix that comes up in every result about changing a point and print policy setting, does not work.
however, I've been able to work around the issue. by first logging in as local administrator, navigating to the domain server, then inputting the domain root account credentials at the prompt. That allows me to attempt to connect to printers, but with a different error
"The server for the printer does not have the correct driver installed...."
I very strongly suspect that the 3510 driver actually will work, but it's just not being shared properly. The printer driver share folder is /var/lib/samba/printers, and that directory contains only a few empty subfolders. CUPS did not place the driver there as I would expect, and that is where clients are looking for it.
The thing is, I have no idea where CUPS DID put the driver.
On the old domain, the printer uses drivers for es4511, and looking on the toshiba site, this seems to be what they provide. The Toshiba Site provides a huge variety of drivers, including several windows ones, a universal driver, and a CUPS PPD. Cups asks for an optional PPD during install and I tried supplying that. It said installed successfully, but didn't change anything.
I've tried pasting the windows drivers into /var/lib/samba/printers/W32X86 too, and likewise with other drivers from toshiba's site. but this doesn't change anything either, so I'm at a bit of a loss.
how to install/setup drivers on a samba PDC, for windows machines?
Also relevant, my smb.conf:
anyone see any possible causes of problems?
# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2010/08/19 13:03:07
[code]....
View 12 Replies
View Related
Oct 21, 2010
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:
Printer state: Idle - /usr/lib/cups/backend/lpd failed
How do I fix the "failed" problem?
View 14 Replies
View Related
Nov 13, 2010
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.
View 1 Replies
View Related
Apr 24, 2009
I have just got my network to work on Fedora, and now I have run into an new problem... I can't access any shared files or printers. The computer that has the printer and the files I want to access runs windows XP Home edition, and when I boot into XP on my machine, I can access the files and printer. Can this be fixed, or is Fedora incompatable with Windows XP in this case?
View 6 Replies
View Related
Apr 7, 2010
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.
View 9 Replies
View Related
Jun 30, 2010
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.
View 1 Replies
View Related
May 4, 2011
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.
[Code]...
View 2 Replies
View Related
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)
[code]...
View 6 Replies
View Related
Jan 31, 2011
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.
View 1 Replies
View Related
Jan 23, 2010
I can't be the first one with this problem. What am I missing?
I have setup Samba servers in the past, just none under SELinux. The last one I configured was a couple years ago, so I wouldn't doubt I'm a bit rusty.
---- Environment summary:
Clean server install of CentOS 5.4 includes SELinux
- lets call this 'server'
- updated samba to 3.0.33-3.15.el5_4.1
Client1 - Windows XP sp4 - WINS configuration uses 'server' noted above
Client2 - Windows Vista - WINS configuration uses 'server' noted above
---- What works / what doesn't ------
Clients can see the server (XP and vista) in network neighborhood.
The following does not work from windows (xp or vista)
net view
net view \server
net view \server-ip
net view \servershare
This does work on the server
smbclient -L \server
smbclient -L \server --user validuser
smbclient -L \client1 --user validuser
---- What I have configured and tried (config/output below) --------
firewall ports for samba are open
SELinux enforcing or permissive
file context is set on share
samba booleans are set
***firewall
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p udp --dport 139 -j ACCEPT
***SELinux mode/booleans
# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted
# getsebool -a | grep smb
allow_smbd_anon_write --> off
smbd_disable_trans --> on
# getsebool -a | grep samba
samba_domain_controller --> on
samba_enable_home_dirs --> on
samba_export_all_ro --> off
samba_export_all_rw --> off
samba_share_fusefs --> off
samba_share_nfs --> off
use_samba_home_dirs --> on
virt_use_samba --> off
***filesystem
# semanage fcontext -a -t samba_share_t �/share/photos(/.*)?�
# restorecon -R -v /share/photos
***Disks
]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 9920624 2070872 7337684 23% /
/dev/sda1 101086 19146 76721 20% /boot
tmpfs 1846656 0 1846656 0% /dev/shm
/dev/mapper/VolGroup00-xen
100791728 202540 95469188 1% /xen
/dev/mapper/VolGroup00-photo00
251981556 191716 238989840 1% /share/photos
/dev/mapper/VolGroup00-dmsdoc00
100791728 192256 95479472 1% /share/alfresco
none 1846656 104 1846552 1% /var/lib/xenstored
***smb.conf
[global]
workgroup = workgroup
netbios name = server
security = user
name resolve order = wins hosts lmhosts bcast
encrypt passwords = yes
hosts allow = 192.168.0.
hosts deny = 192.168.122.
interfaces = eth0
passdb backend = tdbsam
oslevel = 222
local master = yes
domain master = yes
preferred master = yes
cups options = raw
username map = /etc/samba/smbusers
wins support = yes
log level = 4
guest ok = yes
[photo]
comment = Photos
path = /share/photos
read only = yes
guest ok = yes
View 5 Replies
View Related
Aug 11, 2011
I'm using an up-to-date installation of Squeeze with the default Gnome desktop and am trying to print. My knowledge of configuring printers is very limited if it even exists. Since a friend of mine is able to print from her Ubuntu computer, my plan is to copy her. Here's how she does it. She goes under System->Administration->Printing on the desktop. Then a window pops up titled "Printing" that lists various printers that are supposed to exist. It's possible to add one by selecting Add->Printer. It asks for the root password and then a new window pops up titled "New Printer" which has a subwindow called "Select Device" In my case, the "Select Device" window has the following options to choose from:
- AppSocket/HP JetDirect
- Internet Printing Protocol (ipp)
- LPD/LPR Host or Printer
In her case, she has an extra option called "Windows Printer via Samba". This is the option that she uses. The other options don't seem to work for her. I'm assuming that I just need to install some package in order to make this option magically pop up for me. Does anyone know what package this may be? I currently have the packages smbclient, samba-common and samba-common-bin installed..........
View 1 Replies
View Related
Feb 27, 2010
I am using RHEL5 in that i have installed samba rpm as well as created samba users while access the shared folders in WINDOWS i got "access dined" error.
View 1 Replies
View Related
Jan 2, 2010
spent so much time trying to get Samaba working, but with no luckHere is my smb.confQuote:
[global]
realm =
netbios name = rlx-laptop
[code]....
View 9 Replies
View Related
Jun 26, 2009
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?
View 8 Replies
View Related
Nov 25, 2008
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?
View 1 Replies
View Related