The branch, master has been updated via a222b75 libgpo: Fix the build --without-ads from 859698d libads: Fix the build --without-ads
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit a222b7506b53e689708834237f18877231dca589 Author: Volker Lendecke <v...@samba.org> Date: Sat Feb 3 07:07:55 2018 +0100 libgpo: Fix the build --without-ads Signed-off-by: Volker Lendecke <v...@samba.org> Reviewed-by: David Disseldorp <dd...@samba.org> Autobuild-User(master): David Disseldorp <dd...@samba.org> Autobuild-Date(master): Tue Feb 6 15:36:01 CET 2018 on sn-devel-144 ----------------------------------------------------------------------- Summary of changes: libgpo/pygpo.c | 5 +++++ 1 file changed, 5 insertions(+) Changeset truncated at 500 lines: diff --git a/libgpo/pygpo.c b/libgpo/pygpo.c index 7a02a0d..b6b53b7 100644 --- a/libgpo/pygpo.c +++ b/libgpo/pygpo.c @@ -319,6 +319,7 @@ static PyObject *py_gpo_get_sysvol_gpt_version(PyObject * self, return result; } +#ifdef HAVE_ADS static ADS_STATUS find_samaccount(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const char *samaccountname, uint32_t *uac_ret, const char **dn_ret) @@ -468,11 +469,15 @@ out: return ret; } +#endif + static PyMethodDef ADS_methods[] = { { "connect", (PyCFunction)py_ads_connect, METH_NOARGS, "Connect to the LDAP server" }, +#ifdef HAVE_ADS { "get_gpo_list", (PyCFunction)py_ads_get_gpo_list, METH_KEYWORDS, NULL }, +#endif { NULL } }; -- Samba Shared Repository