From bad6e2dbe2096c13049fbb8936ee6df74a1bb9a8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 22 Aug 2002 00:16:21 +0000 Subject: Move comment (This used to be commit 009b331182b1338e07968388004f5d44b835e7f5) --- source3/rpcclient/samsync.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/rpcclient') 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); -- cgit