diff options
Diffstat (limited to 'auth')
-rwxr-xr-x | auth/credentials/tests/bind.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/credentials/tests/bind.py b/auth/credentials/tests/bind.py index 8b08b4a709a..e612dfc7d8a 100755 --- a/auth/credentials/tests/bind.py +++ b/auth/credentials/tests/bind.py @@ -96,7 +96,7 @@ operatingSystem: Windows Server 2003 dn: """ + self.computer_dn + """ changetype: modify replace: unicodePwd -unicodePwd:: """ + base64.b64encode("\"P@ssw0rd\"".encode('utf-16-le')) + """ +unicodePwd:: """ + base64.b64encode(u"\"P@ssw0rd\"".encode('utf-16-le')).decode('utf8') + """ """) # do a simple bind and search with the machine account |