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?

AtomicPorkchop
  • 1,975
  • 8
  • 34
  • 55

2 Answers2

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.

ghm1014
  • 944
  • 1
  • 5
  • 14
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.

David
  • 3,555
  • 22
  • 17
  • 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? – AtomicPorkchop Jul 07 '11 at 04:56