1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/python/samba/gp
Andreas Schneider e4c3c61302 python:gp: Implement client site lookup in site_dn_for_machine()
This is [MS-GPOL] 3.2.5.1.4 Site Search.

The netr_DsRGetSiteName() needs to run over local rpc, however we do not
have the call implemented in our rpc_server. What netr_DsRGetSiteName()
actually does is an ldap query to get the sitename, we can just do the
same.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15588

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Feb 26 08:06:08 UTC 2024 on atb-devel-224
2024-02-26 08:06:08 +00:00
..
util python:gp: Fix logging with gp 2024-01-30 07:18:05 +00:00
__init__.py gpupdate: Deprecate libgpo.get_gpo_list 2023-04-28 02:15:36 +00:00
gp_centrify_crontab_ext.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
gp_centrify_sudoers_ext.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
gp_cert_auto_enroll_ext.py python:gp: Improve working of log messages to avoid confusion 2024-01-29 10:37:29 +00:00
gp_chromium_ext.py gp: Don't hide managed/recommended directories 2022-12-21 03:05:46 +00:00
gp_drive_maps_ext.py gp: Remove unused import 2023-12-08 02:28:33 +00:00
gp_ext_loader.py gp: Don’t shadow imports 2023-08-30 02:15:29 +00:00
gp_firefox_ext.py gp: Ensure Firefox policy preforms proper cleanup 2023-07-31 09:58:30 +00:00
gp_firewalld_ext.py gp: Ensure Firewalld preforms proper cleanup 2023-07-31 09:58:30 +00:00
gp_gnome_settings_ext.py gp: Fix resource leaks 2023-08-30 02:15:29 +00:00
gp_msgs_ext.py gp: Fix resource leaks 2023-08-30 02:15:29 +00:00
gp_scripts_ext.py gp: Ensure script user policy performs proper cleanup 2023-07-31 09:58:30 +00:00
gp_sec_ext.py python: pep257: docstring should use double quotes 2023-12-15 02:54:34 +00:00
gp_smb_conf_ext.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
gp_sudoers_ext.py gp: Fix resource leaks 2023-08-30 02:15:29 +00:00
gpclass.py python:gp: Implement client site lookup in site_dn_for_machine() 2024-02-26 08:06:08 +00:00
vgp_access_ext.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
vgp_files_ext.py gp: Cleanup some unused code 2023-07-31 10:55:26 +00:00
vgp_issue_ext.py gp: Fix resource leaks 2023-08-30 02:15:29 +00:00
vgp_motd_ext.py gp: Fix resource leaks 2023-08-30 02:15:29 +00:00
vgp_openssh_ext.py gp: Add missing import 2023-08-30 02:15:29 +00:00
vgp_startup_scripts_ext.py python: Remove unused imports 2023-08-30 02:15:29 +00:00
vgp_sudoers_ext.py python: Remove redundant backslashes 2023-08-30 02:15:29 +00:00
vgp_symlink_ext.py python: Remove unused imports 2023-08-30 02:15:29 +00:00