LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 02-26-2003, 07:31 AM   #1
ZhiYi
Member
 
Registered: Feb 2003
Distribution: Redhat
Posts: 30

Rep: Reputation: 15
Question Samba cannot access Windows Printer


Hi!
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, 12:01 PM   #2
SlickWilly
Member
 
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.

Slick.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 05:26 AM.

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