mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r4353: Finally get length of munged_dial correct.
Guenther
(This used to be commit b209f97f24
)
This commit is contained in:
parent
a3e4686b50
commit
3c1f5a024d
@ -382,7 +382,7 @@ sam_account_from_delta(SAM_ACCOUNT *account, SAM_ACCOUNT_INFO *delta)
|
||||
if (delta->hdr_parameters.buffer) {
|
||||
DATA_BLOB mung;
|
||||
old_string = pdb_get_munged_dial(account);
|
||||
mung.length = delta->uni_parameters.uni_str_len * 2;
|
||||
mung.length = delta->hdr_parameters.uni_str_len;
|
||||
mung.data = (uint8 *) delta->uni_parameters.buffer;
|
||||
new_string = (mung.length == 0) ? NULL : base64_encode_data_blob(mung);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user