Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-26-2003, 08:31 AM   #1
Registered: Feb 2003
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
Question Samba cannot access Windows Printer

I use redhat linux 8 as a samba client and Windows98 as my server between 2 pcs.
I tried to access the printer on windows but samba client was unable to. I have tried the smbclient -L command and the Cannon S300 printer appeared in the list of shared items.

At the command prompt,I typed smbclient //MANCHESTER/CANNON S300 but an error msg appeared. It reads: tree connect failed: ERRinvnetname(Invalid network name in tree connect).

So I tried the command smbclient //MANCHESTER/PRINTERS$. The login was successful as there was the smb:> prompt. Then I typed print /home/share/foods,which is the directory of a text file, but the message appeared. ERRSRV-ERRaccess(The requestor does not have the necessary access rights within the specified context for the requested function. The context is defined by the TID or the UID) opening remote file foods-1192.

These error messages are strange because I have no problem accessing the windows files from linux. But I cannot access the printer.
Do you know what do the error messages mean and how to access the windows printer from linux ? Please reply quickly if you can...thanks !!
Old 02-26-2003, 01:01 PM   #2
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Looking at your command there, I believe your problem is the space in the printer name :

Try redefining your printer share on your windows machine to a name with no spaces in it : CANON or CANONS300.

Then try your connection again.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 06:33 AM
samba printer access problem Tinku Linux - Networking 5 09-28-2004 02:04 PM
Samba printer help(can see and have access to printer but nothign prints out) rmanocha Linux - Networking 1 11-05-2003 07:54 AM
Error when trying to install Samba to access printer on Windows network wizeguy12 Linux - Networking 1 10-01-2003 06:25 PM
Samba Printer Share on Win2K Access Denied, No Connection available MobbyDick Linux - Software 38 07-17-2003 11:12 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration