search for: pygpo

Displaying 7 results from an estimated 7 matches for "pygpo".

Did you mean: gpo
2018 May 01
1
cannot compile 4-8-stable or 4-8-test
..."--without-ldap" the compile is successful but I have no need for ldap in the installed environment and I see no reason that anything to do with GPO would be necessary when the configure includes "--without-ads --without-ldap --without-ad-dc". Seems to be a mistake that libgpo/pygpo.c is even attempted as part of the make in such an environment. The failure: ============================================= [1939/3416] Compiling libgpo/pygpo.c ../libgpo/pygpo.c: In function ‘find_samaccount’: ../libgpo/pygpo.c:340:11: warning: implicit declaration of function ‘ads_do_search_all’;...
2019 Feb 25
2
AD-DC samba_gpoupdate failing
Well, I had a look at the python bindings and the error handling was in shambles. I fixed libgpo/pygpo.c and I now get: gpos = ads.get_gpo_list(creds.get_username()) SystemError: Failed to get machine token for 'DC01$' (CN=DC01,OU=Domain Controllers,DC=rvx,DC=is) (the failing call is status = gp_get_machine_token(self->ads_ptr, frame, dn,...
2023 Mar 13
1
Fwd: samba-gpupdate nsswitch error
...oming from, but couldn't understand what was >> calling it, perhaps if I spent a morning, I could track this down, but >> probably not worth it, if the code is going. >> > The 'Failed to get machine token' message is coming from > py_ads_get_gpo_list() (libgpo/pygpo.c line 452). > I was referring to: add_local_groups: SID S-1-5-21-2112549936-2540803609-4198596461-1600 -> getpwuid(3000148) failed, is nsswitch configured? Which is coming from source3/auth/token_util.c Rowland
2020 Jan 28
0
[Announce] Samba 4.11.6 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.11 release series. Changes since 4.11.5: --------------------- o Douglas Bagnall <douglas.bagnall at catalyst.net.nz> * BUG 14209: pygpo: Use correct method flags. o David Disseldorp <ddiss at samba.org> * BUG 14216: vfs_ceph_snapshots: Fix root relative path handling. o Torsten Fohrer <torsten.fohrer at sbe.de> * BUG 14209: Avoiding bad call flags with python 3.8, using METH_NOARGS instead of zero. o Fa...
2019 Feb 26
0
AD-DC samba_gpoupdate failing
...ing (failur of getpwuid is currently a DEBUG macro) 2) fix error handling. Will do some tests. On Mon, 25 Feb 2019 at 14:25, Kristján Valur Jónsson <kristjan at rvx.is> wrote: > Well, I had a look at the python bindings and the error handling was in > shambles. > I fixed libgpo/pygpo.c and I now get: > gpos = ads.get_gpo_list(creds.get_username()) > SystemError: Failed to get machine token for 'DC01$' (CN=DC01,OU=Domain > Controllers,DC=rvx,DC=is) > > (the failing call is status = gp_get_machine_token(self->ads_ptr, frame, > dn, >...
2019 Feb 25
2
AD-DC samba_gpoupdate failing
Hi, I just upgraded to 4.8.9 and decided to give the samba_gpoupdate feature a whirl. However, it fails. The line that's failing is "gpos = ads.get_gpo_list(creds.get_username())" returning None. This is probably a failure, since it should otherwise return an empty list (if there were no gpos to return). But there is no output to indicate what may be failing. I have setup of three
2020 Jan 23
0
[Announce] Samba 4.10.13 Available for Download
...MB2 - Ensure we use the correct session_id if encrypting an interim response. * BUG 14205: s3: smbd: Only set xconn->smb1.negprot.done = true after supported_protocols[protocol].proto_reply_fn() succeeds. o Douglas Bagnall <douglas.bagnall at catalyst.net.nz> * BUG 14209: pygpo: Use correct method flags. o Ralph Boehme <slow at samba.org> * BUG 13925: s3: Remove now unneeded call to cmdline_messaging_context(). * BUG 14069: Incomplete conversion of former parametric options. * BUG 14070: Fix sync dosmode fallback in async dosmode codepath. * BUG 14171:...