Solved

Connecting to a NT-printer

Posted on 1997-12-03
1
294 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

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 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

15 Experts available now in Live!

Get 1:1 Help Now