s3:pdb_samba_dsdb: add pdb_samba_dsdb_get_trusteddom_creds
authorStefan Metzmacher <metze@samba.org>
Tue, 16 Dec 2014 15:06:56 +0000 (15:06 +0000)
committerStefan Metzmacher <metze@samba.org>
Fri, 19 Dec 2014 12:15:13 +0000 (13:15 +0100)
commit7387678ff518a394d9f837561987af0e90464d6c
treeeb60b98d8cb4bad7185de4ea3ada4d17497e0417
parentc5e966d989ceb2209e8572f9cab2b5931286f919
s3:pdb_samba_dsdb: add pdb_samba_dsdb_get_trusteddom_creds

We have the password as raw UTF16 blob, which might not be
valid utf16, so we need to use cli_credentials_set_utf16_password().

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>
source3/passdb/pdb_samba_dsdb.c