Solved

Connecting to a NT-printer

Posted on 1997-12-03
1
281 Views
Last Modified: 2012-06-22
Hi,

I have Linux 2.0.32 running with samba in a network with a NT-server.
I'm able to connect to my account on the NT-server and access my files,
but the problem is:

I want to use a printer on the NT-server (I have no problems connecting
to this printer from other NT or Win95 machines).

This is what happens when I try to connect (of course I've changed the
share name, password etc.):
-----------
ai:/usr/local/samba/bin$ smbclient '\\server\printer' -U user%passwd
Server time is Tue Dec  2 01:08:26 1997
Timezone is UTC+1.0
Domain=[ANSATTE] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
security=user
SMBtconX failed. ERRDOS - 66
Perhaps you are using the wrong sharename, username or password?
Some servers insist that these be in uppercase
ai:/usr/local/samba/bin$
-----------
What's wrong (I know the sharename, username and password is correct)?
0
Comment
Question by:erikh120397
1 Comment
 
LVL 1

Accepted Solution

by:
solmssen earned 50 total points
ID: 1587003
I would use the -P option - listed as "connect to service as printer" in the usage notes.  This command line worked for me.

smbclient \\\\gateway\\lp -P -n gateway -U solmssen

I put a file and it printed.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now