diff options
author | Günther Deschner <gd@samba.org> | 2004-12-24 00:56:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:46 -0500 |
commit | 3c1f5a024d3a8e4b85057122556dd5930af09be3 (patch) | |
tree | c4cbde79ba05f1047b5755e3eba5f0a0568fd9a7 | |
parent | a3e4686b50d61d275513bfd20b740cdc9bb34bc6 (diff) | |
download | samba-3c1f5a024d3a8e4b85057122556dd5930af09be3.tar.gz samba-3c1f5a024d3a8e4b85057122556dd5930af09be3.tar.bz2 samba-3c1f5a024d3a8e4b85057122556dd5930af09be3.zip |
r4353: Finally get length of munged_dial correct.
Guenther
(This used to be commit b209f97f246cd65719f1000c7de368babec26d47)
-rw-r--r-- | source3/utils/net_rpc_samsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index 30d24ea8ac..fccdc5f5ba 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -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); |