diff options
author | David Mulder <dmulder@suse.com> | 2022-05-06 09:41:19 -0600 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-05-12 17:54:32 +0000 |
commit | 144878ce45cad445f04ff180d647317b67c0a2e6 (patch) | |
tree | 1d44e61c811d2e522d3f25f651f3af64ae3baf33 /python | |
parent | c4e576052fa9bc57d288bed69abb599e1f9bb27b (diff) | |
download | samba-144878ce45cad445f04ff180d647317b67c0a2e6.tar.gz |
gpo: Supress error caused by ldap Cert Auto Enroll config
When the CA url specified on the SYSVOL is 'LDAP:'
this means that configuration should be fetched
from LDAP. This corrects an error message that
was being reported when the URL appeared improper
but really is not. This does not change the
code behavior (it was still working), but
removes the invalid error.
Signed-off-by: David Mulder <dmulder@suse.com>
Revewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/gp_cert_auto_enroll_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/gp_cert_auto_enroll_ext.py b/python/samba/gp_cert_auto_enroll_ext.py index e6c40462d33..db85c97fe66 100644 --- a/python/samba/gp_cert_auto_enroll_ext.py +++ b/python/samba/gp_cert_auto_enroll_ext.py @@ -116,7 +116,7 @@ def obtain_end_point_information(entries): ca['name'] = name ca['hostname'] = m.group('server') ca['auth'] = m.group('auth') - else: + elif ca['URL'].lower() != 'ldap:': edata = { 'endpoint': ca['URL'] } log.error('Failed to parse the endpoint', edata) end_point_information = \ |