![]() |
SAMBA domain controller / CUPS
Hello. I used this HOWTO:
http://www.howtoforge.com/samba_setup_ubuntu_5.10 to set up samba and it worked very well. However I cannot seem to get cups to work. On the fresh ubuntu install, I was able to use the gnome cups config tool to add my network printer (which has a static IP). After doing the steps in the HOWTO that tool no longer runs (it says that it cannot contact the cups server). My printer isn't listed in the 'Printers and Faxes' of the samba server under windows and I cannot browse for it. How do I go about making the gnome tool work again? Also, how does one make the printer show up in Samba aside from running 'cupsaddsmb -a'? I also cannot get the web frontend for cups to work, so perhaps I had done something incorrectly in general. I will re-check things as well. |
If you cant connect with the gnome tool to the cups server and the webinterface is not working, i guess your cups server is not running at all or has not been started.
Please all check the settings in /etc/cups/cupsd.conf Did you get an error message when you execute this command on the shell: /etc/init.d/cupsys restart Quote:
|
Hi. Cups starts and restarts fine but the gnome tool or the web config on port 631 don't work. I am double-checking the settings again now but I think they are like what is in the HOWTO. My setup is similar min that my server has a static IP.
|
If there is an error in the cups config file, cups will only start the server part that is nescessary for printing, but not the part that is nescessary for the communication with samba, the webinterface and other config tools. Please check the logfiles for errors too and check with netstat if the software listens on port 631.
|
Hi. I should have looked at a log earlier, I looked at /var/log/cups/error_log and found this when I restart cups:
Code:
I [28/Dec/2005:14:07:46 -0800] Listening to 7f000101:631 |
I guess you put "AuthGroupName shadow" in the wrong part of the config file because its supported.
Open the config file, search for AuthGroupName, you will find it commented out. Put the line AuthGroupName shadow right below the commented AuthGroupName line. |
Thanks, I think 'AuthGroupName' is now in the right place, also I mistyped some addresses. I am pretty confident that the config file looks 'right' now. My error log has this:
Code:
I [28/Dec/2005:16:38:17 -0800] Listening to 7f000001:631 |
I just wanted to say that everything is working and the problems were indeed typos on my part. Thanks for your help! Now I need to figure out why Windows won't load the driver for the printer, even from the HP CD. However the samba/cups side seems to be working fine.
|
Quote:
My printer is printing fine on the linux side. When I tried to print from the XP Pro machine it says "wrong drivers for this printer." I've tried installing the drivers from the XP machine, but won't accept the them. |
Which driver do you select on linux (cups) and which on windows?
|
| All times are GMT +2. The time now is 04:58. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.