gp: Skip site GP list if no site is found
authorDavid Mulder <dmulder@samba.org>
Fri, 5 Jan 2024 15:47:07 +0000 (08:47 -0700)
committerJule Anger <janger@samba.org>
Mon, 29 Jan 2024 10:46:16 +0000 (10:46 +0000)
commit445637d0f4c9aeff4f62075ea19cc2bfa5ae4fb6
treedd9cf0e19119dedd86143d716954b7b04be25c8b
parent283ff41ee9273ee345ee8432e77eac950810581c
gp: Skip site GP list if no site is found

[MS-GPOL] 3.2.5.1.4 Site Search says if the site
search returns ERROR_NO_SITENAME, the GP site
search should be skipped.

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

Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jan 23 11:20:35 UTC 2024 on atb-devel-224

(cherry picked from commit f05b61b4991e7f51bd184d76a79f8b50114a0ff3)
python/samba/gp/gpclass.py