Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-22-2013, 10:45 AM
|
#1
|
LQ Newbie
Registered: Aug 2013
Location: San Antonio, TX
Posts: 20
Rep: 
|
Printing from Linux Desktop/Server to Windows Print Server without Authentication?
All -
I can run smbclient from a RedHat6 desktop or server to get a list of printers shared on our Windows
print server; and I can print to a printer there using SMB if I give it my username and password in
the popup box on a graphical desktop. There's no popup or anything for authentication if I use the
"lp" command from the command line.
What I'd like to be able to do is print from the command line or GUI to the Windows print server and
NOT have to authenticate. I've had the Windows administrator enable both IPP and LPD on the print server.
So far, after adding a printer using lpd://<server>/<printer> and cupsenable, all I get is a
message in lpstat that it's "contacting the printer" and the file never prints.
Our desktops and servers authenticate to Active Directory via Centrify.
I've been looking for several days now online, but can't seem to find a recent coherent document on how
to set all this up.
Thanks for any help.
|
|
|
08-24-2013, 09:16 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,897
|
There is a way to include the windows credentials in the CUPS information for the printer. I used to do it, but that Windows computer long ago went to the happy recycling grounds.
The link I used to set it up has disappeared from the net, but I found this one, which is not as step-by-step, but might help: http://serverfault.com/questions/101...worked-printer
|
|
|
08-24-2013, 09:39 PM
|
#3
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,571
|
I would try going into the CUPS administration page by entering http://localhost:631 into a web browser and change the device URI for the printer to
Code:
smb://<username>:<password>@<server>/<printer>
http://www.linuxtopia.org/online_boo...nting_131.html
|
|
|
08-27-2013, 10:59 AM
|
#4
|
LQ Newbie
Registered: Aug 2013
Location: San Antonio, TX
Posts: 20
Original Poster
Rep: 
|
Ok, I was able to get this working. Turns out the Windows server administrator hadn't actually
installed the LPD service when he thought he did. Once he did that, I was able to set up a
printer and get it working without needing user authentication.
Thanks for the suggestions.
|
|
|
All times are GMT -5. The time now is 03:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|