We are running RedHat Enterprise Server 5. We have a Windows 7 Pro with an HP Printer attached to it, and shared. I can see the printer in RedHat, but everytime I send a print job, it just does nothing but sit there. I've even tried to attach to it via smbclient, and I get the following response: tree connect failed: NT_STATUS_BAD_NETWORK_NAME
I'M Batty from Tanzania ,i have question on printer sharing between linux GNOME(FEDORA) and windows xp how is it possible?i had my HP printer connected on Linux and i need to make network sharing for the printer .please give me support.
I have have recently installed Ubuntu 10.04 on my desktop pc and set-up a shared folder and a shared printer from the Ubuntu desktop. My shared folder works completely fine and is easily accessible by my windows xp laptop. My printer sharing initially worked fine and I was able to connect and print from the windows xp laptop. Unfortunately, after a reboot of the ubuntu computer the printer is no longer found by the laptop (the shared folder, however, still works fine).
I can get the shared printer working again by using the following command to restart Samba: - sudo service smbd restart
After restarting Samba, suddenly my laptop can see the printer again. I don't particularly want to have to restart Samba every time I boot up my computer. I understand I could probably make a script that would restart Samba automatically after booting or logging in, but I would rather fix the actual problem than use a workaround like that.
Using 10.04. I use one machine mostly as a printer server: If it goes down for whatever reason I want to restart without having to enter any password. Samba seems to start and allow file shares, but does not start the printer sharing so I must manually enter "sudo restart smbd" to allow the printer sharing. From reading the various threads I guess that the samba "start command" is before the printers are "initialized" and thus are not "setup". So how can I make the samba "startup" last after everything else? I am not enough familiar with all of the commands to understand the thread posting to make it work.
I have a Samsung CLX 3175 connected via CUPS to a Ubuntu box running 11.04. After installing the Samsung Unified Printer Driver as described in this post [URL] the printer works perfectly under Linux, I even got network scanning to work under Windows via TwainSane.
The big problem is network printing from Windows over Samba, though (although I thought that this should be easier to set up than scanning..). Even after hours of trying, I could not get it to print a single page spooled from my Windows computer.the print jobs do show up in CUPS as finished, but do not actually get processed. Could this be a rights-related thing? Depending of one setting in smb.conf (namely, "cups options = raw"), the printer even makes some noise and warms up when I spool a new job -- but it does not print.
My setup is the following:
- CUPS in the current version with Samsung Driver - Samba 3.5.8 - Windows XP and 7 clients
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
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.
after much flaunching around for several days, I was able to access a windows based printer on my network from this Ubuntu 10.4 laptop. What I first discovered was I had to install Samba and Cups (cups was already installed as it turned out). Having done that, I tried several iterations of discovering the HP printer attached to a Dell Latitude on my network. Nothing.Then I read something, somewhere about using the IP address of the Latitude instead of the network name (Latitude). So I peeked into the router to find the IP address assigned to Latitude and VOILA! I plugged that into the box for location,along with the name of the printer and it did the rest. Actually it found the right drivers and did the rest.
I see a problem with that protocol, however. If I reset the router, which I have to do once a week or so, I fear that the IP assigned to Latitude will change. As it is, it has 192.168.2.2 but if I reset and bring up my Asus first, I imagine Latitude will end up with ~.2.3, in which case I have no idea what will happen.
I've recently bought a nice little HP LaserJet 1200, which was easy to configure and setup locally. However I wish to share the printer throughout the house with up to three/four Windoze machines.
I think it would be best to set this up perhaps using IPP rather than Samba, as I can't seem to get any of the Windows machines in the house to see my SUSE Box, shame really, seeing as it's superior ha ha
I have installed Ubuntu 10.4 LTS and I want to share a printer on that computer with my windows network (mix of XP and Vista). I have network connectivity and and can see other windows computers and they can see me, I am just stumped on how to share a printer on my linux machine with all of the Windows computers on my network.
I've checked the forums for a guide to sharing my printer with a laptop and cannot find any entries that are specific to my configuration. [URl]... My printer is connected to a desktop running Fedora 13. I also have a laptop running Windows 7. There was one web entry that spoke about "Windows Vista 7" that didn't match my configuration. [URL].. Is there a "how to" out there that I can follow to make this work? I am not a well-experienced user, so the more detailed (and accurate) the steps, the better!
I installed it on a desktop today to try it out. So far I'm loving it and have gotten everything to work except for one thing:
There's a printer connected to it (HP PSC 1600), and I'd like the other computers on the network to be able to print to that computer. The other computers are running Windows 7, and one is running Snow Leopard.
When I plugged in the printer, Ubuntu recognized it almost immediately and installed it. Wonderful! I then went ahead and set it to be Shared, and hoped for the best. Neither the Windows machine or the OS X machine could find the printer...even after I pointed them directly at what I thought was the CUPS address (\mycomputername:631). To make matters even more confusing, I was able to set up shared folders and have the other computers be able to view them.
I shared home folders to be accessible from a Windows XP notebook computer which my wife uses some times. One of the folders contains many pictures which I later renamed (bulk rename at the ubuntu box). The pictures at the Windows box still have the old name and they can be opened as usual. However, when my wife rotated a picture and saved it with the same name, the picture just disappeared. For some reason It can not display the new names. I removed the Thumbs.db files, restarted samba and re-configure again the connection with samba but no luck. It is not a big problem but I was wondering if someone knows what this is happening?This is my samba config file:
[global] workgroup = WORKGROUP server string = %h Ubuntu dns proxy = no
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..........
I am using ubuntu 10.04 .I tried to share my files on windows network using samba , I changed theworkgroup name in samba configuration file ..but it dint work for me will you please tell me the exact procedure to share the files on windows network ..
I want to share folder in fedora 12 so that any windows user can access my folder (without modifying its content) and there should be no password to be entered by the windows user. I tried samba gui but the folder does not open using windows.
I'm using [URL] to help set up my server for windows file sharing. I accedently pressed unix file sharing and now i can switch it to windows file sharing.it would be fine to uninstall the Unix file sharing and replace it with the windows counterpart.I have Ubuntu desktop 10.04 (because i keep getting an error with the kernel with the server editions)
I just installed a CentOs 5.2 Linux server and I'm trying to configure Samba. The file names of files created from the windows workstation are ok, but the file names of files created from the Linux server appear with different names than them are supposed to have. I've checked the Samba configuration file but I can't find options for fixing this trouble. Samba version 3.033375
1> i have centos5.4 fileserver. i synchronize my document of windows xp with fileserver through samba server. while synchronzing ,virus effected file are also get sync in fileserver . i scheduled copying in crontab also.meanwhile by synchronizing the fresh file get replaced by virus file.this result lost of my data.
is there is any solution to restrict virus file from copying through rsync....
2> is there is any program to compare size of files on samba server
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.
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.
So I have a Ubuntu box with a printer trying to share it's printer with a Mac using cups over ipp. Has anynone else had trouble with this?At first the printer would be stuck in the busy state according to the Mac. Any attempt to change it's state would only work for a split second. Then I found on the ubuntu help site (https://help.ubuntu.com/community/Ne...tingWithUbuntu) a command the run on the Mac, cupsctl BrowseRemoteProtocols=cups
This works temporarilyand allows printing, but then it fails again some time later, seems to last only to the next restart (which isnt a long time for a laptop).
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 printer connected to one PC running slackware. The printer is set up to be shared through Samba and I can print to it from my Windows laptop.I would however like to use that printer from another Linux machine (running Ubuntu).Do I need to go through Samba to do this or is there a better way with it being linux-linux?Everything I've found on google relates to going from Linux to Windows unfortunately.
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?
I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss
I have just configured samba and it is working fine, the only problem that i have face when i go to access some sharing on samba server it asking me about password but the problem is that its username option is embossed. By default it will login as guest but i dont know the guest password.
Originally Posted by van 2.0 If you are not having a problem with Samba and have nothing to offer the OP in his bid to solve the problem then your post is not relevant to the discussion. The reason I asked you to point out where SELinux has been mentioned is that those are the docs of an Enterprise OS and any relevant steps would be included.I see you are new to SELinux, but interrupting a post to point out something unrelated does not help, it just adds confusion and consternation.I think that, perhaps in your your zeal to serve as police officer of the relevance trees, you've failed to see the forest. It could be that I was not sufficiently clear in my first post here, so I'll explain it very, very slowly and carefully, so as not to cause any you any further confusion.
The original poster is unable to access his Samba shares. The original poster does not understand why and seems to think that it is configured correctly. Other posters have added suggestions about smbpasswd and testparm to check for correct syntax. Presumably, these things have not yet solved the problem, since the OP has not returned to say the problem is solved, though you linking to one of the first links that would appear in a google search for redhat and samba was no doubt wildly and extraordinarily helpful.
So, I had an idea. I recognized that, in a crazy plan to make a functional OS, the authors of Linux had allowed more than one binary to execute simultaneously. This means, that SELinux and samba can both run at the same time. Now, stay with me here - if SELinux is not configured to allow permissions for the samba user on the Samba share.... "permission denied" log errors can occur in Samba. Now, that sounds familiar for some reason. Hmmm... oh, yeah! That was what the original poster mentioned! And, I just dealt with that exact problem, caused by insufficient SELinux permissions!I knew there was a method to my madness.So, anyway, adopting your own ironically sanctimonious tone, I hope you've learned a lesson today that can improve the quality of your posting. This lesson is two-fold: (1) it's not especially good form to quibble with someone trying to help in good faith and (2) if you are going to, it pays to have something tangible to offer to go along with your condescension.No need to thank me - helping you be a better poster is its own reward, and I'm rapidly losing interest in anything you have to say in general, anyway. From what I've seen, it's not anything I couldn't find in under 10 seconds on google.
I'm trying to get GS to print to network Windows printer, but somehow fail to do so . I managed to print through CUPS to that printer but if I use GS with -sDEVICE=cups nothing happens, nothing is printed, CUPS logs remain unchanged... I also found command using smbclient (gs ... | smbclient //machine/printer -U user ... -c 'printmode graphics;print-') but that one fails with "session setup failed: NT_STATUS_REQUEST_NOT_ACCEPTED" Here is why I need it, so maybe you know better way: We need to print thousands of PDF files in one print job (to prevent anybody else to send something else in while we are printing this). I was trying to develop small C program using GS API to achieve this but somehow I fail on something as trivial as print something on shared network printer.
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.
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..