The Samba-Bugzilla – Attachment 861 Details for
Bug 2182
Net rpc vampire does'nt keep sambaMangedDial in sync
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
base64-encode munged dial
samba3-net_rpc_vampire_munged_dial.diff (text/plain), 638 bytes, created by
Guenther Deschner
on 2004-12-22 03:27:36 UTC
(
hide
)
Description:
base64-encode munged dial
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2004-12-22 03:27:36 UTC
Size:
638 bytes
patch
obsolete
>Index: utils/net_rpc_samsync.c >=================================================================== >--- utils/net_rpc_samsync.c (revision 4328) >+++ utils/net_rpc_samsync.c (working copy) >@@ -380,8 +457,11 @@ > } > > if (delta->hdr_parameters.buffer) { >+ DATA_BLOB mung; > old_string = pdb_get_munged_dial(account); >- new_string = unistr2_static(&delta->uni_parameters); >+ mung.length = delta->uni_parameters.uni_str_len; >+ mung.data = (uint8 *) delta->uni_parameters.buffer; >+ new_string = (mung.length == 0) ? NULL : base64_encode_data_blob(mung); > > if (STRING_CHANGED) > pdb_set_munged_dial(account, new_string, PDB_CHANGED);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2182
: 861