[PATCH 22/23] gpo: Add gpo tests
Andrew Bartlett
abartlet at samba.org
Fri Mar 10 20:46:06 UTC 2017
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)
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list