Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Connecting to a NT-printer

Posted on 1997-12-03
1
Medium Priority
?
344 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

How To Install Bash on Windows 10

Windows’ budding partnership with Canonical has certainly led to some great improvements. One of them being the ability to use Bash on your Windows machine without third party applications! This might be one of the greatest things a cloud engineer in a Windows environment can do!

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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
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…

662 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