[PATCH] A merged set of smb.conf parameters!

Andrew Bartlett abartlet at samba.org
Tue Jul 24 03:05:46 MDT 2012


On Mon, 2012-07-23 at 15:10 +1000, Andrew Bartlett wrote:
> This patch series creates a single table to define valid smb.conf
> parameters:
> 
> https://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/param-merge
> 
> I started this work with Tridge last Thursday, and this finishes this
> particular part of the task. 
> 
> All smb.conf parameters are declared in lib/param/param_table.c and the
> matching functions are in lib/param/param_functions.c (as they have been
> for some time).
> 
> There is still a number of things to do from here:
>  - A number of the special handler functions are not implemented in the
> lib/param code yet.  When parsed by that code, these parameters just
> won't do anything special.
>  - The source3/param/loadparm_ctx.c file needs to be autogenerated
>  - We need to continue to merge more of the parameter handling code.
> Rusty has a patch changing the string handling over to talloc, which
> will make this easier. 
> 
> Regardless, this should give us less warnings and therefore less user
> frustration as we move towards a release candidate of Samba 4.0!

My progress so far has been to merge in all the parameters from
lib/param into source3/param.  Some of the parameters have then been
merged back, but issues remain with others.  Fortunately autobuild found
these. 

>From here, I'll continue to merge the parameters section-by-section so
that we can get a good history for bisection here, as that was what was
able to assist me in finding the failure point so far.

I hope to complete the merge this week.  As I am part-way thought this
process, please ping me on any parameter changes until this is finished,
so we can co-ordinate. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list