mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
gpo: Fix crash in Cert Auth Enroll RSOP
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
45d76ecad2
commit
6171dfc528
@ -252,6 +252,8 @@ class gp_cert_auto_enroll_ext(gp_pol_ext):
|
||||
for ca in cas:
|
||||
policy = 'Auto Enrollment Policy'
|
||||
cn = ca['cn'][0]
|
||||
if policy not in output:
|
||||
output[policy] = {}
|
||||
output[policy][cn] = {}
|
||||
output[policy][cn]['CA Certificate'] = \
|
||||
format_root_cert(ca['cACertificate'][0]).decode()
|
||||
|
Loading…
x
Reference in New Issue
Block a user