search for: libgpo

Displaying 20 results from an estimated 43 matches for "libgpo".

Did you mean: libgpg
2012 Feb 09
1
samba4 build progress error for gpo_reg.c (explained)
...error when building samba with current "samba-4.0.0alpha17" shipped with the sogo/openchange source. The error message is shown below. "‘struct registry_value’ has no member named ‘type’" is caused by gpo_reg.c in "samba4/source3/libgpo/gpo_reg.c" ??? line: 174: ??????? reg_val.type = REG_SZ;... 192:??????? reg_val.type = REG_DWORD; 213:??????? if (reg_val->type != REG_SZ) {... 238:??????? if (reg_val->type != REG_DWORD) {... whereas "samba4/source4/lib/registry/registry.h" line 264-269 has: struct registry_...
2018 May 01
1
cannot compile 4-8-stable or 4-8-test
...I drop "--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...
2023 Jan 06
2
Group Policy Settings Missing/Not Applying
...the ADMX templates (Administrative Templates): https://dmulder.github.io/group-policy-book/install-admx.html#install-admx-samba If you've already installed them, then you should know there is actually a bug. GPMC doesn't read templates with a space ' ' in the name. Rename 'libgpo/admx/GNOME Settings.admx' and 'libgpo/admx/en-US/GNOME Settings.adml' to use an underscore instead of a space. This is already fixed in Samba master. Perhaps we should backport this? Like this: libgpo/admx/GNOME_Settings.admx libgpo/admx/en-US/GNOME_Settings.adml -- David Mulder La...
2017 Jun 28
2
Lowercase characters on GPO IDs in Samba source files
...ast half-right, after all. I just opened the files contained in the last Samba release (contained in samba-4.6.5.tar.gz) and although the typos have been corrected in "./python/samba/provision/__init__.py", *they are still there* in "./examples/misc/adssearch.pl" and "./libgpo/gpo_util.c". It happened that, before my first post, I had peeked into "./examples/misc/adssearch.pl" and it was there, that's why I posted. Can we solve this very simple matter once and for all? If I can help in any way, I will gladly do it.
2023 Jan 06
1
Group Policy Settings Missing/Not Applying
Hi, Im attempting to apply a few group policy settings but they dont seem to be applying on the machine in question, or some settings I cannot see in the GPME. 1. Settings applied to openssh dont seem to create the required config files in /etc/ssh/sshd_config.d/ for ssh to actually pick up on these changes. Is there a different location its applying these to that I can verify with? Below is
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,...
2019 Feb 26
0
AD-DC samba_gpoupdate failing
...000074" works and returns information, but this library function fails. This is then propagated upwards as a memory error, because it is being called from getpwuid_alloc() which is a talloc variant. the api doesn't allow us to distinguish either form of error. Later, there is this code (in libgpo) new_token = create_local_nt_token(mem_ctx, &object_sid, false, num_token_sids, token_sids); ADS_ERROR_HAVE_NO_MEMORY(new_token); where the failure of create_local_nt_token() is simply assumed to be a memory failure. This pretty much destroys any finess in lower level error handling... Now,...
2019 Feb 26
1
AD-DC samba_gpoupdate failing
...turns information, but this > library function fails. > This is then propagated upwards as a memory error, because it is being > called from getpwuid_alloc() which is a talloc variant. the api > doesn't allow us to distinguish either form of error. > Later, there is this code (in libgpo) > new_token = create_local_nt_token(mem_ctx, &object_sid, false, > num_token_sids, token_sids); > ADS_ERROR_HAVE_NO_MEMORY(new_token); > where the failure of create_local_nt_token() is simply assumed to be a > memory failure. This pretty much destroys any finess in lower leve...
2017 Apr 25
4
[Announce] Samba 4.6.3 Available for Download
...fails to list snapshots from shares with GlusterFS backend. o Jeremy Allison <jra at samba.org> * BUG 12559: Fix for Solaris C compiler. * BUG 12628: s3: locking: Update oplock optimization for the leases era. * BUG 12693: Make the Solaris C compiler happy. * BUG 12695: s3: libgpo: Allow skipping GPO objects that don't have the expected LDAP attributes. * BUG 12747: Fix buffer overflow caused by wrong use of getgroups. o Hanno Boeck <hanno at hboeck.de> * BUG 12746: lib: debug: Avoid negative array access. * BUG 12748: cleanupdb: Fix a memory read e...
2017 Apr 25
4
[Announce] Samba 4.6.3 Available for Download
...fails to list snapshots from shares with GlusterFS backend. o Jeremy Allison <jra at samba.org> * BUG 12559: Fix for Solaris C compiler. * BUG 12628: s3: locking: Update oplock optimization for the leases era. * BUG 12693: Make the Solaris C compiler happy. * BUG 12695: s3: libgpo: Allow skipping GPO objects that don't have the expected LDAP attributes. * BUG 12747: Fix buffer overflow caused by wrong use of getgroups. o Hanno Boeck <hanno at hboeck.de> * BUG 12746: lib: debug: Avoid negative array access. * BUG 12748: cleanupdb: Fix a memory read e...
2023 Jul 28
0
[Announce] Samba 4.19.0rc1 Available for Download
...es like Kerberos authentication. The downside is that breaks the options interface. The support for smbgetrc has been removed. You can use an authentication file if needed, this is documented in the manpage. Please check the smbget manpage or --help output. gpupdate changes ---------------- The libgpo.get_gpo_list function has been deprecated in favor of an implementation written in python. The new function can be imported via `import samba.gp`. The python implementation connects to Active Directory using the SamDB module, instead of ADS (which is what libgpo uses). Improved winbind logging and...
2023 Jul 28
0
[Announce] Samba 4.19.0rc1 Available for Download
...es like Kerberos authentication. The downside is that breaks the options interface. The support for smbgetrc has been removed. You can use an authentication file if needed, this is documented in the manpage. Please check the smbget manpage or --help output. gpupdate changes ---------------- The libgpo.get_gpo_list function has been deprecated in favor of an implementation written in python. The new function can be imported via `import samba.gp`. The python implementation connects to Active Directory using the SamDB module, instead of ADS (which is what libgpo uses). Improved winbind logging and...
2023 Aug 08
1
[Announce] Samba 4.19.0rc2 Available for Download
...es like Kerberos authentication. The downside is that breaks the options interface. The support for smbgetrc has been removed. You can use an authentication file if needed, this is documented in the manpage. Please check the smbget manpage or --help output. gpupdate changes ---------------- The libgpo.get_gpo_list function has been deprecated in favor of an implementation written in python. The new function can be imported via `import samba.gp`. The python implementation connects to Active Directory using the SamDB module, instead of ADS (which is what libgpo uses). Improved winbind logging and...
2023 Aug 08
1
[Announce] Samba 4.19.0rc2 Available for Download
...es like Kerberos authentication. The downside is that breaks the options interface. The support for smbgetrc has been removed. You can use an authentication file if needed, this is documented in the manpage. Please check the smbget manpage or --help output. gpupdate changes ---------------- The libgpo.get_gpo_list function has been deprecated in favor of an implementation written in python. The new function can be imported via `import samba.gp`. The python implementation connects to Active Directory using the SamDB module, instead of ADS (which is what libgpo uses). Improved winbind logging and...
2017 Jun 28
0
Lowercase characters on GPO IDs in Samba source files
In April 2016 I reported the following typos in three source files related to sysvol and GPOs. ./examples/misc/adssearch.pl:357:"Default Domain Controllers Policy" => "6AC1786C-016F-11D2-945F-00C04fB984F9" ./libgpo/gpo_util.c:46: "6AC1786C-016F-11D2-945F-00C04fB984F9" } ./python/samba/provision/__init__.py:123:DEFAULT_DC_POLICY_GUID = "6AC1786C-016F-11D2-945F-00C04fB984F9" Note the lowercase "f" in the last numeric group in those three lines. Policy IDs normally have uppercase...
2017 Jun 28
0
Lowercase characters on GPO IDs in Samba source files
...at lists.samba.org> wrote: > In April 2016 I reported the following typos in three source files > related to sysvol and GPOs. > > ./examples/misc/adssearch.pl:357:"Default Domain Controllers Policy" > => "6AC1786C-016F-11D2-945F-00C04fB984F9" > > ./libgpo/gpo_util.c:46: "6AC1786C-016F-11D2-945F-00C04fB984F9" } > > ./python/samba/provision/__init__.py:123:DEFAULT_DC_POLICY_GUID = > "6AC1786C-016F-11D2-945F-00C04fB984F9" > > Note the lowercase "f" in the last numeric group in those three > lines. Polic...
2017 Jun 28
0
Lowercase characters on GPO IDs in Samba source files
...all. > > I just opened the files contained in the last Samba release > (contained in samba-4.6.5.tar.gz) and although the typos have been > corrected in "./python/samba/provision/__init__.py", *they are still > there* in "./examples/misc/adssearch.pl" and "./libgpo/gpo_util.c". > > It happened that, before my first post, I had peeked into > "./examples/misc/adssearch.pl" and it was there, that's why I posted. > > Can we solve this very simple matter once and for all? If I can help > in any way, I will gladly do it. >...
2023 Mar 13
1
Fwd: samba-gpupdate nsswitch error
...ge is coming 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
2024 Apr 08
0
[Announce] Samba 4.19.6 Available for Download
.... o? Noel Power <noel.power at suse.com> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fails in fd_close(). o? Andreas Schneider <asn at samba.org> ?? * BUG 15588: samba-gpupdate: Correctly implement site support. ?? * BUG 15599: libgpo: Segfault in python bindings. o? Martin Schwenke <mschwenke at ddn.com> ?? * BUG 15580: Packet marshalling push support missing for ???? CTDB_CONTROL_TCP_CLIENT_DISCONNECTED and ???? CTDB_CONTROL_TCP_CLIENT_PASSED. ####################################### Reporting bugs & Development...
2024 Apr 08
0
[Announce] Samba 4.19.6 Available for Download
.... o? Noel Power <noel.power at suse.com> ?? * BUG 15527: fd_handle_destructor() panics within an smbd_smb2_close() if ???? vfs_stat_fsp() fails in fd_close(). o? Andreas Schneider <asn at samba.org> ?? * BUG 15588: samba-gpupdate: Correctly implement site support. ?? * BUG 15599: libgpo: Segfault in python bindings. o? Martin Schwenke <mschwenke at ddn.com> ?? * BUG 15580: Packet marshalling push support missing for ???? CTDB_CONTROL_TCP_CLIENT_DISCONNECTED and ???? CTDB_CONTROL_TCP_CLIENT_PASSED. ####################################### Reporting bugs & Development...