LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-03-2003, 03:02 AM   #1
GreenerLinux
Member
 
Registered: Aug 2003
Location: Olympia, WA
Distribution: Xandros, Libranet, Mandrake
Posts: 86

Rep: Reputation: 15
Angry Samba not sharing files with Windows machine


First, I must say that I hate Samba. Or maybe this hatred goes towards the book I have for configuring it since nothing even remotely close to the book's description ever presents itself. Either way, there is much hatred going towards something.

I have Samba running. I only wanted to run it as a client for Microsoft File & Print sharing, not as a server. However, that doesn't seem possible. So Samba is running as a fascist server and requests a password when I try to look at my Linux machine within the Network Neighborhood of my Windows machine. When I attempt to view the Windows machine from Linux it shows up but won't connect. (Even more annoying is the lack of any sort of GUI interface in KDE for Fedora to view my local network. I have to switch to Gnome to do this).

All I want to do is share the printer on my Windows machine with my Linux machine. I don't want any passwords or logins to do this. This is what a LAN is all about... not having to login each time I want to look at something that's shared (defeats the whole purpose of sharing).
I hate saying it but networking 15 Windows machines would be faster and easier than networking a single Linux machine to a Windows machine.

 
Old 12-03-2003, 03:37 AM   #2
binkybuckle
Member
 
Registered: Jul 2003
Distribution: debian
Posts: 40

Rep: Reputation: 15
I wont get into the reasons for the way samba is, but I will say this: any file or printer sharing must be done from a server after all it is "serving" files and printers.i.e. even windows 98 has a server in a way.

access to samba without a password is done with several lines put in the smb.conf file:

security=user
guest account=<a valid linux username>




On each share in the smb.conf put:

guest ok=yes
guest only=yes

Thats it, the 'guest account=<a valid linux username> must have rights on each shared folder, i think you can use the root user as guest but a default option in the smb.conf normally stops this (can't remember exactly what it is), just change this option from ya to nah or vice versa. the option 'guest ok=yes' in each file and printer share section is the actual option that allows access without a password.
 
Old 12-03-2003, 04:53 AM   #3
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Quote:
Originally posted by binkybuckle
I wont get into the reasons for the way samba is, but I will say this: any file or printer sharing must be done from a server after all it is "serving" files and printers.i.e. even windows 98 has a server in a way.
Exactly in that way. When you enable "file and print sharing for Microsoft networks" it actually enables the "server" service (that's exactly what it's called). In a workgroup (no domain controller) Windows defaults to share level permissions, whereas Samba defaults to user level permissions, however.

Webmin works quite well for me and can be run remotely; you can share Linux dirs using IE from a Windows box, for example. LinNeighborhood is pretty good too and works with KDE; I use it often to mount Windows shares on my Linux machine. Both came with my copy of Mandrake and make using Samba a breeze.

Last edited by Crito; 12-03-2003 at 05:07 AM.
 
Old 12-03-2003, 01:51 PM   #4
GreenerLinux
Member
 
Registered: Aug 2003
Location: Olympia, WA
Distribution: Xandros, Libranet, Mandrake
Posts: 86

Original Poster
Rep: Reputation: 15
Wink

Quote:
LinNeighborhood is pretty good too and works with KDE; I use it often to mount Windows shares on my Linux machine.
Any chance I might be able to find something like this for Fedora? It's exactly what I'm looking for!

Last edited by GreenerLinux; 12-03-2003 at 01:52 PM.
 
  


Reply



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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
Sharing a printer on Fedora with a Windows Machine timswim78 Linux - Networking 1 07-15-2005 07:32 PM
Sharing a printer on a windows machine Mattouf Linux - Networking 6 06-22-2002 10:33 PM
Sharing files with windows systems using samba ashpai Linux - Networking 3 02-28-2001 11:21 PM

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

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

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