[PATCH] Use talloc in source3 loadparm, make more handlers common
abartlet at samba.org
Sun Feb 23 21:46:52 MST 2014
Now that much of loadparm is generated and made regular, Garming's
attention has turned to the requested task of merging common code. In
particular, there is a strong desire to undo the #include of
param_table.c, and these steps are all critical to that goal.
The patch series starts with a simple talloc -> malloc conversion, and
later patches construct an appropriate talloc tree. Many other small
changes are needed or desired along the way.
The general approach is to use the s3_fns hook to handle the special
cases where the source3 code does something different, and to then
slowly eliminate these hooks as even more code becomes common.
The patch series starts here:
Other patches will follow, the work in progress branches I've seen
actually have param_table.c as a standalone C file, which is a major
step to paying down the technical debt from the fork and the rush to
Please carefully review!
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical