2

I am looking to do a simple Samba server install on my Ubuntu 11.04 VM.

What I need is some shares to be public and few shares to be private.

What I need to know is what I have to keep in the config file in order to maintain a basic configuration. I want to lose the parts about domain controllers and profiles.

Oh yeah and I want to keep the printer sharing ability.

Do I just delete the part I don't want to keep? or is there a science to it?

2 Answers 2

2

Have you tried system-config-samba? This is an UI to configure Samba easily. It may not be as powerful as vim but for a simple configuration should suffice.

3
  • I am running command line, can't do GUI Jul 7, 2011 at 2:18
  • @Solignis Option B would be to get the basic setup on a machine with a GUI, copy the samba.conf file over to the server, and do any last minute tweaking there. That should get you up and running
    – TheLQ
    Jul 7, 2011 at 3:40
  • That is a good idea, I will try that. Jul 7, 2011 at 20:35
0

Before you do anything, make a back of Samba's configuration file so you have something to go back to if need be.

If swat is installed, take a look at that. It's Samba's web based configuration tool. It's a bit ugly but should get you going.

If you truly only have command line access, I suggest you do some reading before you start playing with settings. Samba-3 by Example will get you up and running fairly quickly.

And remember, testparm is your friend.

1
  • Yep, I made a backup of the original smb.conf. I don't think swat is installed. What does testparm do exactly? I ran it and it gave me a dump of smb.conf that consisted of only the values that were uncommented. Is that some kind of template in a way? Jul 7, 2011 at 4:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .