[PATCH] Handle non-constant strings properly and share the param_globals structure

Nadezhda Ivanova nivanova at samba.org
Wed Feb 19 07:17:43 MST 2014


Looks good to me.
Reviewed by: nivanova at samba.org


On Mon, Feb 17, 2014 at 3:10 AM, Garming Sam <garming at catalyst.net.nz>wrote:

> On 14/02/14 13:26, Garming Sam wrote:
>
>> Hi,
>>
>> So the attached patches are some of the work I've been doing on loadparm.
>>
>> The lib/param code has been changed to handle non-constant strings
>> correctly. This involved changing the code to pass down a memory context in
>> certain parts of the code.
>>
>> We can now use the same globals structure across the two loadparms,
>> eliminating the need to call lp_functions from the lib/param code. By doing
>> this, it means that we no longer need to dynamically generate the
>> s3_param.h file and loadparm_ctx_table and they have now been removed.
>>
>> Also included is a couple suggested tidyups.
>>
>>
>> Please review.
>>
>
> The current branch is stored in gerrit if anyone wants to have a play with
> it.
>
> https://gerrit.sernet.de/#/q/status:open+project:samba+
> branch:master+topic:garming/param-s3-hooks-1,n,z
>
>
>
> Cheers,
>
> Garming Sam
>


More information about the samba-technical mailing list