General :: Samba Won't Communicate With CUPS
Oct 12, 2010
I am setting up a small home print server running Fedora 13 (no gui). I setup Samba to have 1 file share and 1 printer. I can access both just fine in Windows network.
However when I try to print, nothing happens. I looked under Jobs in the Cups Web Interface and no job was ever created, so I suspect either Samba or CUPS isn't configured correctly. I am able to print a test page from CUPS directly.
smb.conf
Code:
Code:
View 2 Replies
ADVERTISEMENT
May 2, 2011
I'm beginning to think linux actually isn't capable of sharing files and printers with anything. I've been trying to get my LMDE to share files and be able to retrieve files from the other windows PCs I have on my wireless network. I would also like to share the printer I have connected to my LMDE install with those same computers. In short how is this done because I pulling my hair out trying to figure out whats wrong.
As I understand it sharing the printer should be easier than sharing files. Its done by CUPS? Anyway I've enabled sharing in the printing, and in the "server settings" windows ticked "publish shared printers connected to this system". That doesn't work. Windows can't find it. Samba on the other hand is even worse. Edit the smb.conf? Nice way of making things complicated!
View 2 Replies
View Related
May 2, 2009
What is the command to install CUPS and Samba, like yum install. I don't want to be installing wrong things and then end up with dependency problems, and after that what do i need to configure to have CUPS print from the localhost, and so that other computers from the networks also be able to print from the server, that is i'm workin on a server. As for samba i just need the installation command, then i want to figure the rest out.
View 1 Replies
View Related
Jan 24, 2010
After my update to 9.10 I had not notice that CUPS, Samba, lighttpd (and maybe other serives that I've not missed until now) don't start up during system start no longer. After all, things look quite normal in the directory /etc/rc3.d, which has the appropriate links S20samba, S20lighttpd and S50cups, all of them working when I use them directly. But wait! Ubuntu uses updstart now, does it? I have yet to understand what that means to the classic startup scripts in /etc/init.d.
View 9 Replies
View Related
Feb 4, 2010
I was just checking some of the generated logs from Samba.
Code:
Quote:
I've looked over my smb.conf and it doesn't look like I even have any printer sharing enabled.
Quote:
How PC1 was refused a connection when it looks like I don't have any printers being shared throught Samba?
This is just on a home LAN.
View 1 Replies
View Related
Feb 4, 2010
I wish to update the drivers for a printer which is being shared using samba - can I just upload the new drivers and overwrite the old or do I need to delete the old drivers before uploading the new ones
View 3 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
Mar 14, 2009
Apologies if this was asked before -- I have googled the last bytes out of my Firefox but fail to find anything helpful. Here's my problem:I have a foomatic hpijs cups-driver for a HP Inkjet (Non-PS printer) installed. Printing from UNIX-hosts works. I have cups configured not to allow raw-printing (/etc/cups/mime.types: #application/octet-stream, /etc/cups/mime.convs: #application/octet-stream).I have now installed samba-printing, the cups PS-drivers plus the Windows PS-drivers are populated to /etc/samba/drivers/W32X86/ and get pushed to the WIN-Client.Problem is that when I print from a WINXP client, the printer outputs heaps of Postscript-text instead of my page.I have tried to debug this a bit but fail to find anything really useful. My observations so far:
- The samba-pushed HP_Photosmart_3300.ppd (in both /etc/samba/drivers/... and in the resulting dir on the WINXP client) reads:
*cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
[code]....
View 2 Replies
View Related
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
Jun 7, 2010
I want to use LDAP on SUSE 10 to authorize the use of certain objects within IBM's MQ Series via the setmqaut command. I do not want to authenticate these users to the Linux server itself via LDAP. Users that actually log onto the Linux server will be authenticated through a product from Quest formly known as VAS. My question is, does LDAP require the use of PAM or can I utilize the facilities within LDAP to communicate with a Windows Active Directory so that I can authorize the use of MQ Series objects and not authenticate actual users that would log onto the server.
View 3 Replies
View Related
Mar 8, 2010
I want to create a simple website which can communicate with unix server.For example i want to run some command on a unix server through a website.
View 10 Replies
View Related
Feb 24, 2010
I have a printer configured on my Ubuntu server using CUPS amd made it available to the local network. The printer is recognized on my other Ubuntu machine without any problems.
But on my Suse laptop, the printer is not recognized. Using the YaST printer Configuations, I choose the option "Recieve Printer Information from Remote CUPS servers. But no printer is found.But... when I choose Do All Yout Printing Directly via One Remote CUPS server and enter the correct IP address (192.168.1.100), the printer is found andI am sure the printer info is broadcasted because it shows up on my second Ubuntu PC. But why is it not recognized by default on my Suse machine
View 2 Replies
View Related
Feb 26, 2010
I know this is listed somewhere but I cannot seem to find it -
How to I add a root users to access the 127.0.0.1:631 interface for CUPS?
View 1 Replies
View Related
Feb 27, 2011
Running: Ubuntu 10.10
I'm in a bind and I don't know how to get what I want. Nmap shows ipp running cups on port 631. Great, simple enough I uninstall cups, along with its dependencies. A new portscan reveals that the port is closed SUCCESS, but... Ubuntu Update Manager nags me @ every restart about the "important security" updates. I can't lock the version of cups in Synaptic, because cups is not installed! So you see I'm in a bind. If I have cups installed I have an open port, and if I uninstall cups the update manager nags me. What do I do? I've tried:
- stopping the cups service and issuing the chkconfig cups off command... (doesn't close the port)
- uninstalling cups... (update manager nags)
- fuser -k 631/tcp (great, but @ reboot the port is still open)
Please teach me how to close this port / stop this service / tell update manager to shove cups.....
View 8 Replies
View Related
Feb 24, 2011
cups does not start with the server. When I try to start from the terminal I get the error message
cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!
cupsd: Child exited with status 1!
The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.
My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .
View 2 Replies
View Related
Mar 22, 2011
I've been trying to figure this out for longer than I care to admit. We upgraded our print server (sysadmin) to 64 bit lucid and that moved our cups server from 1.3.7 to 1.4.3. We have a remote server that is still 1.3.7 (printhost1) but version difference doesn't seem to be relevant to the problem.
If I'm on console on sysadmin and do an lpr to a printer on printhost1, everything is copacetic. However, If I'm on a host that specifies "ServerName sysadmin" in its "/etc/cups/client.conf" access_log on sysadmin shows:
172.16.10.52 - - [22/Mar/2011:11:11:40 -0500] "POST /printers/103_hp4250 HTTP/1.1" 200 306 Create-Job client-error-not-authorized
and error_log shows:
E [22/Mar/2011:11:11:40 -0500] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/103_hp4250) from 172.16.10.52
We've been using this method of sharing printers between locations for years and years so it not working now is a surprise.
cupsd.conf on sysadmin looks like this and is as open as I can imagine:
ServerName sysadmin
ServerAlias *
ServerAdmin webmaster
FileDevice Yes
SystemGroup staff
LogLevel info
code....
Additional symptoms are that only printers locally defined on sysadmin show up when the client uses System>Administration>Printing in gnome. Same thing when you browse printers in windows on our samba domain controller that backends on CUPS.
I just know that it's something simple that's going to make me facepalm but I'm at a loss.
View 6 Replies
View Related
Feb 12, 2010
I have installed Slackware 13 on one of the hard disks of my computer in order that I can get it working properly before changing over from 12.2.
My main problem is that I cannot get CUPS to change from 'Letter', which I presume is an American size, to A4, has anyone else had experience of this problem?
View 9 Replies
View Related
Jan 21, 2010
installed lenny and am trying to install brother dcp7010 again:
1) i can't start CUPS server with /etc/init.d/cups restart "file not found", there is a cups@ link in /etc/init.d.
2) when i install dcp7010 cupswrapper
dpkg -i cupswrapperDCP7010-2.0.1-2.i386.de
it ends with
" lpinfo: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt
lpadmin: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt"
(connection to server not possible, refused)
3)[URL] doesn't work.
4)foomatic-gui can't find the installed dcp7010 lpr-driver
brdcp7010lpr-2.0.1-1.i386.deb, (a couple of days ago it did)
This is frustrating because it worked in etch and worked for awhile in lenny. The dcp7010-scanner does work.
View 13 Replies
View Related
Oct 12, 2009
Is there any way to limit x number of samba users by samba ? Say if there are already 5 samba users using the share, I would like to restrict any futher samba requests.. How do i do that ?
View 1 Replies
View Related
Feb 10, 2011
I have 2 computers one of them ubuntu installed and on the other one windows(xp) installed.how they can communicate?like file sharing,printer sharing etc.?wat kind software or what i need?
View 3 Replies
View Related
Nov 19, 2010
How can I get two ip addresses to communicate with each other which are not in the same 255 range?
Like:
192.168.0.1
and
192.168.1.1
View 7 Replies
View Related
Dec 3, 2010
I'm using Fedora 9 and has finished the DHCP for my eth2 and static on eth0. I would like to add a route so that the 192.168.22.x eth0 and 192.168.26.x eth2 can communicate to each others,.
View 3 Replies
View Related
Oct 2, 2010
I am trying to set up a website from my ubuntu machine through IIS of windows server 2003. I am sharing the folder I want to store the files in across the network and all the computers are seeing it find.
The question is, how do I do this so it does not require a password to connect to it or give windows the permission without having to put them in every time.
I can get to my website, but it is asking for username and pass... I need that gone.
View 4 Replies
View Related
Aug 30, 2010
I previously used SSH to communicate between my two ubuntu PCs, but my new internet connection is far too slow for this method. Is there someway I can directly communicate between my two PCs using the router. Samba? moreover, my ip seems to be dyanamic through my internet, how can i change it to static? or will it not matter for Local area connections?
View 5 Replies
View Related
Oct 25, 2010
I have a wireless headset that I'm trying to charge through USB. When I connect it, it just doesn't charge. Looking at dmesg, the device isn't recognised, which is not surprising, since I think the USB port is only for charging, and it won't communicate over USB. lsusb also tells me that (apart from other things that are connected to the USB bus, that all of the 'MaxPower' variables are set to 0mA. So what I think is happening is I connect the headset ubuntu queries it, receives no reply, and so doesn't let the port draw any current. As far as I'm aware, there usually is some kind of OS handshaking like this, but it may vary from model of computer to model, so there's no point in saying "my <INSERT USB DEVICE HERE> charges". I am able to charge my MP3 player from the same port (because it's recognised), and I can charge the headset if I use a dumb mains->USB/5V transformer, but it should also work with my laptop. What I think I need is some way of manually setting the 'MaxPower' on the USB ports.
View 4 Replies
View Related
Dec 18, 2010
I am testing with Suse Linux Enterprise Server 10 in a VMWare environment. I've installed two SLES10 servers, named sles1 and sles2. I can't get the two servers to communicate, even a simple ping won't work. The "Network Adapter" in VMWare is set to "bridged", a setting which has worked fine when installing WinXP in VMWare and connecting to the Internet.Even if I ping sles1 from sles1 (= "pinging myself"), I get the same error message.Only if I ping localhost, I get a proper ping result.What did I do wrong? Did I forget to configure something?
View 2 Replies
View Related
Apr 1, 2009
I'm trying to attach an fstream to serial port for reading and writing with the following code:
Code:
#include <iostream>
#include <fstream>
#include <string>
[code]....
The code compiles without errors, but doesn't catch any input text from the device attached to RS232. I have tried it with Rx and Tx connected, but didn't receive my text back. It works OK if I substitute /dev/ttyS0 with an ordinary file, but any attempt to use /dev/ttyS0 seems to lead to an empty answer string. I tried this on a PC under Ubuntu Linux 7.10.
View 3 Replies
View Related
Feb 24, 2009
I have a application in C++, and now I have two class. MyDialog is the class that main function launch. In MyDialog class there are four elements and when I click over theese elements, there is a MousePressEvent that launch other class, Touchpad class. So, in some moments, I have loaded two class. My question is, how can pass a value from Touchpad class to MyDialog class, when I close (destroy) Touchpad class. In a few words, is it possible to communicate values between class?
View 5 Replies
View Related
Aug 17, 2010
Trying to install Debian 5050i-386 ISO Image. Part way through I get the following error message: The network autoconfiguration was successful. However, no default route was set: the system does not know how to communicate with hosts on the Internet. This will make it impossible to continue with the installation unless you have the first official Debian CD-ROM, a 'Netinst' CD-ROM, or packages available on the local network. Of course I discontinued the install. How does one set a default rout?
View 8 Replies
View Related
Oct 20, 2009
I downloaded and installed a new copy of Fedora 11 last week onto a new computer (hereafter "proximate"). I also have a remote computer without a monitor running an outdated version of Red Hat Linux (hereafter "remote"). To manage the processes on remote graphically, I ssh from proximate into remote; this connection succeeds without incident in transmitting text (including commands) between the two computers; however, the command "gnome-session" returns: (gnome-session:15789): Gtk-WARNING **: cannot open display:
(The numbers apparently represent the process identifier and vary from instance to instance.) A similar warning (and no accompanying graphics) occurs whenever I attempt to start any graphical user interface from remote via ssh from proximate. The issue almost certainly lies with proximate; remote successfully communicated graphics to the ancient box that proximate replaces.
Interestingly, I cannot communicate via ssh from remote to proximate (within a secure shell from proximate to remote). If I execute /usr/sbin/sshd on proximate as root, then I can login, but even then I cannot execute any commands.
Consider the following output:
If I execute ssh -vvv proximate from remote to proximate, then I get a lengthy output that ultimately ends with "debug1: Exit status 254."
What must I do to communicate both text and graphics among my computers?
View 3 Replies
View Related