diff options
| author | Stefan Metzmacher <metze@samba.org> | 2014-12-16 13:58:11 +0000 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2014-12-19 13:15:13 +0100 |
| commit | 826b0f761e07987fbe067badde665c3d1c99e821 (patch) | |
| tree | a936bc9caae2fe182c84a984a5a5f174ebe828dd /source4/scripting/bin/w32err_code.py | |
| parent | 153938a1f2a06fec5b2f7daef12200a504fb92f4 (diff) | |
| download | samba-826b0f761e07987fbe067badde665c3d1c99e821.tar.gz samba-826b0f761e07987fbe067badde665c3d1c99e821.tar.xz samba-826b0f761e07987fbe067badde665c3d1c99e821.zip | |
auth/credentials: add cli_credentials_set_utf16_password()
We need a way to initialize the cli_credentials from the raw utf16 blob,
which might not be completely valid utf16, which means the conversion
from CH_UTF16MUNGED to CH_UTF8 might loose information.
This would result in an invalid nt_hash, when we convert back
from CH_UTF8 to CH_UTF16LE.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11016
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/bin/w32err_code.py')
0 files changed, 0 insertions, 0 deletions
