From f4affb4382d4895589d0eceda765ae5bdc1df855 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 24 Apr 2007 18:01:46 +0000 Subject: r22505: Fix build (This used to be commit cc38ffb9a45b008ab7bbc3299610bd0dfec13aa9) --- source3/rpc_server/srv_samr_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index be73b33265..a128757ad0 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -725,7 +725,7 @@ NTSTATUS _samr_set_sec_obj(pipes_struct *p, SAMR_Q_SET_SEC_OBJ *q_u, SAMR_R_SET_ } status = access_check_samr_function(acc_granted, SA_RIGHT_USER_SET_ATTRIBUTES, "_samr_set_sec_obj"); - if NT_STATUS_IS_OK(status) { + if (NT_STATUS_IS_OK(status)) { become_root(); status = pdb_update_sam_account(sampass); unbecome_root(); -- cgit