Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Connecting to a NT-printer

Posted on 1997-12-03
1
Medium Priority
?
349 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 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

885 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