summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpcclient/samsync.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpcclient/samsync.c b/source3/rpcclient/samsync.c
index 3694eb47df..aaef889278 100644
--- a/source3/rpcclient/samsync.c
+++ b/source3/rpcclient/samsync.c
@@ -401,6 +401,9 @@ static NTSTATUS sam_sync(struct cli_state *cli, unsigned char trust_passwd[16],
if (!NT_STATUS_IS_OK(result))
goto done;
+
+ /* Update sam */
+
apply_deltas(num_deltas_0, hdr_deltas_0, deltas_0);
@@ -466,8 +469,6 @@ static NTSTATUS sam_sync(struct cli_state *cli, unsigned char trust_passwd[16],
goto done;
}
- /* Update sam tdb */
-
done:
cli_nt_session_close(cli);
talloc_destroy(mem_ctx);