gpo: Decode the bytes for cepces-submit failure
authorDavid Mulder <dmulder@suse.com>
Thu, 22 Jul 2021 16:37:41 +0000 (10:37 -0600)
committerJeremy Allison <jra@samba.org>
Fri, 13 Aug 2021 19:14:31 +0000 (19:14 +0000)
commite3a956e075b6030534463689b820eb037aeed4f3
tree391e7cf5a217e6b031de8aa9ce1301b9c8a4dee9
parent7a04052dad4b52a20d47805a41b892bb4fecb433
gpo: Decode the bytes for cepces-submit failure

When displaying the error from cepces-submit,
make sure to decode the bytes (otherwise it is
hard to read). Also print the error to debug
instead of warn (it may dump a traceback).

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/gp_cert_auto_enroll_ext.py