Solved

Connecting to a NT-printer

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

770 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