LinuxQuestions.org
Help answer threads with 0 replies.
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
  Search this Thread
Old 11-09-2005, 02:21 PM   #1
gizmobay
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Rep: Reputation: 0
Denied Connection from Windows to Linux


Hello All,

I'm trying to setup a shared printer through Samba. The printer resides on Linux and I'm trying to print from Windows XP. When trying to add printer in XP I get a folder not found. Checking the Samba log files shows access denied. When going through Linneighborhood, I can see my linux box and XP box, I can't share files though. I can print from Linux.

What am I doing wrong?

Here's my smb.config file

[global]
hosts allow = 192.168.0./255.255.255.0
workgroup = LOCALNETWORK
printcap name = cups
restrict anonymous = no
domain master = no
preferred master = no
security = user
guest ok = yes

[printers]
comment = All Printers
path = /var/spool/samba/
guest ok = yes
printable = yes
browseable = no
create mask = 0700
printer admin = root
printer name = MFC5840CN

[XPLOGIN]
path = /home/xplogin/
guest ok = yes
case sensitive = no
msdfs proxy = no

Permission on the var/spool/samba is 777
 
Old 11-09-2005, 02:59 PM   #2
JohnDuq
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora 4
Posts: 1

Rep: Reputation: 0
It has been a few years since I worked with Samba, but I believe all you need to change is one line in the [printers] section:

browseable = yes

That will let Windows see the folder. Good luck!
 
Old 11-09-2005, 03:10 PM   #3
gizmobay
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for the response. It didn't work though.
 
Old 11-10-2005, 12:51 AM   #4
gizmobay
LQ Newbie
 
Registered: Nov 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Resolved, shoulda used the default smb.conf from the start.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysqlcc connection denied BlackHatRob Linux - Software 1 09-15-2005 10:34 PM
Permission denied when access linux from windows through NFS implementation red_colt Linux - Networking 2 08-12-2005 03:54 AM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 08:02 PM
Linux sharing connection with windows matt3333 Linux - Networking 10 04-28-2003 02:35 AM
Permission Denied on a RSH Connection Eluminator Linux - Software 4 11-08-2002 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration