diff options
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |