summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_rpc_samsync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index dc2ae2caa1..acf085af82 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -393,6 +393,8 @@ sam_account_from_delta(SAM_ACCOUNT *account, SAM_ACCOUNT_INFO *delta)
if (pdb_get_acct_ctrl(account) != delta->acb_info)
pdb_set_acct_ctrl(account, delta->acb_info, PDB_CHANGED);
+ pdb_set_domain(account, lp_workgroup(), PDB_CHANGED);
+
return NT_STATUS_OK;
}