summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2004-12-10 09:45:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:35 -0500
commitb0beeb8123412810f67de8cf7c640a513feb188d (patch)
tree28e65bab5a9f07dbf9ab80313a2c97cf47c1697f /source3/utils
parent92a7eb69d393e10d4fa422871d68a0728692cd38 (diff)
downloadsamba-b0beeb8123412810f67de8cf7c640a513feb188d.tar.gz
samba-b0beeb8123412810f67de8cf7c640a513feb188d.tar.bz2
samba-b0beeb8123412810f67de8cf7c640a513feb188d.zip
r4127: vampire munged_dial.
Guenther (This used to be commit eb64eb9d572e12b28a67779746b8ddc191497c09)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_samsync.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index b31087927a..e5778dfc7c 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -322,6 +322,14 @@ sam_account_from_delta(SAM_ACCOUNT *account, SAM_ACCOUNT_INFO *delta)
pdb_set_profile_path(account, new_string, PDB_CHANGED);
}
+ if (delta->hdr_parameters.buffer) {
+ old_string = pdb_get_munged_dial(account);
+ new_string = unistr2_static(&delta->uni_parameters);
+
+ if (STRING_CHANGED)
+ pdb_set_munged_dial(account, new_string, PDB_CHANGED);
+ }
+
/* User and group sid */
if (pdb_get_user_rid(account) != delta->user_rid)
pdb_set_user_sid_from_rid(account, delta->user_rid, PDB_CHANGED);