[PATCH 22/23] gpo: Add gpo tests

David Mulder dmulder at suse.com
Fri Mar 10 21:09:53 UTC 2017


Here's a patched commit using lpcfg_gpo_update_command() and lpcfg_path().

On 03/10/2017 01:46 PM, Andrew Bartlett wrote:
> On Fri, 2017-03-10 at 13:17 -0700, David Mulder wrote:
>>> The lp_get_param() seems quite wrong here.  Why can't you use the
>>> normal lpcfg_() (generated in some case) functions for this?
>> It's not a matter of whether I can, but whether I know how :)
>> I can use lpcfg_gpo_update_command() for the gpo command, but i'm
>> not
>> sure how to retrieve the sysvol path.
> Try lpcfg_path(s, lpcfg_default_service(lp_ctx), mem_ctx)
>

-- 
David Mulder
SUSE Labs Software Engineer - Samba
dmulder at suse.com
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gpo-Add-gpo-tests.patch
Type: text/x-patch
Size: 10518 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170310/f875f554/0001-gpo-Add-gpo-tests.bin>


More information about the samba-technical mailing list