python/samba/provision: remove use of str() func for binary data
authorNoel Power <noel.power@suse.com>
Fri, 27 Apr 2018 12:02:50 +0000 (13:02 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 3 Sep 2018 01:22:23 +0000 (03:22 +0200)
commit84c890b244c6a72c9be18e91b508e186ae51046c
tree5c06d2388779ce0fac66e4bb4568f9c8b67d47de
parent683d51fb5cd7c859cff718d671832247b0a8b3a4
python/samba/provision: remove use of str() func for binary data

Python 2 code works with str(policy["nTSecurityDescriptor"]) however
this cannot work with Python 3. One could argue even the str method
doesn't make sense at all (returning a string) for data.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/provision/__init__.py