SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I trie print with samba and cups in slack10.1 appears the message:
"Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_ACCESS_DENIED"
I think that I must do anything in /etc/hosts
That error happens when CUPS connects to the server machine but it can't login succesfully or the user that logins doesn't have print permissions.
/etc/hosts are just "aliases" for some ips.
Until you discovery this values, you could use the command line to test for print
You can print to a printer on the server through Samba, but I find that printing directly to CUPS on the server on the IPP port works much faster, as you are bypassing several protocol layers.
I don't think that the /etc/hots is the problem, it looks more like a problem with cups.conf or samba passwords.
/etc/cups/cupsd.conf needs a bit of tuning to allow remote access to the cups server. There is a location section which needs to have something like 192.168.0.0/24 to allow access from the local network.
Just out of curiosity, since I'm a little unclear as to your exact setup....
Do you have a Windows system that's sharing the printer through Samba? If so, which version of Windows is it?
Do you have a *nix system that's got CUPS, and you're trying to share to Windows systems through Samba?
It's important to ask. Older versions of Windows do not support IPP, but Win2k and higher all have innate support for IPP, including Server capability. (maybe not XP Home, but I never had that). You may find it's a whole lot easier to just set up IPP properly. IPP is stabler and faster than Samba printing.
XP Home works just fine with IPP and WinME can be persuaded to use it too. As said above it is much simpler and faster than going through Samba.
Getting XP Home to work with Samba is more of a challenge, thanks to the XP Home PC having a habit of sending the "Full Name" instead of the "Username" when authenticating.
XP home prints TO IPP just fine. What I need to look into is whether it's able to SERVE IPP.
Well, no, I don't need to look into that. I'm quite happy with CUPS.
The question is whether he's sharing a printer from a winbox through Samba, and whether it would be possible to share that printer through IPP instead of Samba.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.