<br><br><div class="gmail_quote">On Thu, Sep 16, 2010 at 11:13 AM, Michael B. Trausch <span dir="ltr"><<a href="mailto:mike@trausch.us">mike@trausch.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Wed, 2010-09-15 at 21:24 -0400, Björn Gustafsson wrote:<br>
> I'm looking to install Samba at home for the first time in a while,<br>
> and I'm wondering what's a good tool these days to manage a Samba 3<br>
> server. There are several options available in the Ubuntu repos, but<br>
> none of them stand out at first glance.<br>
><br>
> Any recommendations?<br>
<br>
</div>For the servers that I manage, I currently tackle the configuration by<br>
hand. For the most part, once it's set, it doesn't need modification<br>
unless there is a problem.<br>
<br>
One thing to keep in mind is that it's a configuration file that you<br>
will rather infrequently modify, but it _is_ read quite frequently by<br>
Samba. So what I do is keep a commented version of the file with all my<br>
explicit configuration in a single file, smb.conf.master, and then I use<br>
the testparm tool to generate an efficient configuration file for smb to<br>
parse. You can do this by using the following command in the directory<br>
where Samba expects to find its configuration:<br>
<br>
$ sudo testparm -s smb.conf.master > smb.conf<br>
<br>
This will result in a much smaller, comment-free smb.conf where any<br>
values that are set to their default values will also be absent. You<br>
can force testparm to output all implicit/default configuration with the<br>
-v parameter, but you shouldn't need to do that; if you need a setting<br>
to be set explicitly, just use testparm every time you upgrade Samba and<br>
anything that is no longer the default will then be included in the<br>
file.<br></blockquote><div><br>That is a good tip! Thanks :-) <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
--- Mike<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>I would rather stumble along in freedom than walk effortlessly in chains.<br><br><br>