LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-10-2008, 02:27 PM   #1
donovanv
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
Question Samba Newbie


I am trying to setup a simple samba server. I have one windows machine and several linux machines running mandriva and KDE. Through much experimenting, I have still been unable to set this up.

I have gone into “Configure your Computer” -> Network Sharing -> Manage Samba Configuration. I added an entry for the folder I will be sharing and I set it to browsable = yes, public = yes, and writable = yes. Under the Samba Users Tab, I created a user. (I want all the users to have the same username and password.)

I went to Local Disks -> Share your hard disk partitions, and choose “Allow all users”, and placed a check next to SMB

I right clicked on the folder, choose Sharing, and verified the options under there.

I have also tried creating my own smb.conf file as described in a tutorial, but the smb.conf file seems to be reset to the auto-generated version.

Does anyone have any advice on how I can setup Mandriva to share a folder with a Windows machine and other Linux machines?

Thanks
--Donovan
 
Old 05-10-2008, 06:03 PM   #2
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,485

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
Quote:
I have also tried creating my own smb.conf file as described in a tutorial, but the smb.conf file seems to be reset to the auto-generated version.
This is the way to do it. Did you edit the file as root? If not, you will not be able to save changes.

There are some very good tutorials around. After you edit the file you have to restart samba. Once restarted, the changes take affect. There is also excellent documentation around. You may have to do some reading to get things going the way you want.
 
Old 05-19-2008, 07:13 PM   #3
donovanv
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, I was finally able to get it working by editing /etc/samba/smb.conf on the server and /etc/fstab on the clients. I guess editing the files is better than using the gui.

thanks
--Donovan
 
Old 05-20-2008, 09:23 AM   #4
camorri
LQ Veteran
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,485

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
Glad to hear you got it going.

Editing config files directly allows you to learn what controls samba. The gui way usually implies there is a "wizard" involved. That tends to insulate the user from what you are doing, the windoze way of keeping you in the dark. I do use gui's once I understand what I'm trying to accomplish, they can save time and effort.

You will find it seems more difficult to configure linux resources at first. After you start to learn things, it becomes easier.
 
  


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
Newbie Samba jdecoto Slackware 2 12-17-2006 10:38 PM
Newbie-Samba help dyn0myte Slackware 4 07-27-2005 09:42 PM
Samba Newbie !!! burki Linux - Software 2 03-25-2005 06:58 PM
Samba Help... NEWBIE! abluesky Linux - Networking 8 03-17-2004 01:22 PM
!!!!!!! newbie needs SaMBa help !!!!!!!! spaztic_fury Linux - Networking 1 11-02-2003 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration