1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/python/samba/gp
David Mulder 4486d686f5 gp: Add site-dn fallback when rpc call fails
In testing I noticed that the rpc call for the
site name is failing when joined via SSSD. This
commit adds a fallback to check using the old
style method found in ads_site_dn_for_machine()
(which works, but doesn't obey the Group Policy
spec) if the rpc call fails.

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Apr 28 03:14:25 UTC 2023 on atb-devel-224
2023-04-28 03:14:25 +00:00
..
util python: fix mutable default arguments 2023-02-23 23:33:46 +00:00
__init__.py gpupdate: Deprecate libgpo.get_gpo_list 2023-04-28 02:15:36 +00:00
gp_centrify_crontab_ext.py gp: Fix NameError: free variable 'cron_dir' in Crontab CSE 2023-04-19 21:21:10 +00:00
gp_centrify_sudoers_ext.py gp: Modify Sudoers CSEs to use new files applier 2022-12-21 02:04:36 +00:00
gp_cert_auto_enroll_ext.py python: fix mutable default arguments 2023-02-23 23:33:46 +00:00
gp_chromium_ext.py gp: Don't hide managed/recommended directories 2022-12-21 03:05:46 +00:00
gp_ext_loader.py
gp_firefox_ext.py
gp_firewalld_ext.py gp: Fix Firewalld RSoP output skipping Zones 2022-12-14 22:54:29 +00:00
gp_gnome_settings_ext.py gp: Modify GNOME Settings CSE to use new files applier 2022-12-21 02:04:36 +00:00
gp_msgs_ext.py
gp_scripts_ext.py gp: Modify Machine Scripts CSE to use new files applier 2022-12-21 02:04:36 +00:00
gp_sec_ext.py gp: Password and Kerberos policies fail on unknown key 2022-11-12 00:34:34 +00:00
gp_smb_conf_ext.py
gp_sudoers_ext.py gp: gp_sudoers_ext warn w/out visudo installed 2023-02-10 20:31:37 +00:00
gpclass.py gp: Add site-dn fallback when rpc call fails 2023-04-28 03:14:25 +00:00
vgp_access_ext.py gpupdate: Use winbind separator in PAM Access Policies 2023-03-20 20:20:41 +00:00
vgp_files_ext.py gp: Modify Files CSE to use new files applier 2022-12-21 02:04:36 +00:00
vgp_issue_ext.py
vgp_motd_ext.py
vgp_openssh_ext.py gp: Modify OpenSSH CSE to use new files applier 2022-12-21 02:04:36 +00:00
vgp_startup_scripts_ext.py gp: Modify Startup Scripts CSE to use new files applier 2022-12-21 02:04:36 +00:00
vgp_sudoers_ext.py gp: Modify Sudoers CSEs to use new files applier 2022-12-21 02:04:36 +00:00
vgp_symlink_ext.py gp: Modify Symlink CSE to use new files applier 2022-12-21 02:04:36 +00:00