1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00
Stefan Metzmacher 54e68e94ee s3:trusts_util: generate completely random passwords in trust_pw_change()
Instead of having every 2nd byte as '\0' in the utf16 password,
because the utf8 form is based on an ascii subset, we convert
the random buffer from CH_UTF16MUNGED to CH_UTF8.

This way we have a random but valid utf8 string,
which is almost like what Windows is doing.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2015-03-30 13:41:25 +02:00
..
2014-01-03 05:04:44 +01:00
2015-03-30 11:04:15 +02:00
2015-03-20 20:43:11 +01:00
2015-03-17 11:30:52 +01:00
2015-03-17 11:30:52 +01:00
2013-05-18 16:32:38 +02:00
2015-03-17 11:30:52 +01:00
2015-03-23 21:22:12 +01:00