]> git.ipfire.org Git - thirdparty/samba.git/commit
samba-tool domain trust: avoid useless use of string_to_byte_array
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 11 Jun 2024 23:21:59 +0000 (11:21 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 12 Jun 2024 08:14:34 +0000 (08:14 +0000)
commit300bb809ab7c06eb6abef91a313dbdb8edad7c83
tree013fbed85d0b5d817c42b7be9e6cc2e01a948612
parentf8fb9f19bca909fe4d29378f255bad33ccb1d778
samba-tool domain trust: avoid useless use of string_to_byte_array

`pw.encode('utf-16-le')` is always bytes.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/domain/trust.py