summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2007-04-24 18:01:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:40 -0500
commitf4affb4382d4895589d0eceda765ae5bdc1df855 (patch)
treee909126bdcdd2d2832039aa99d55113ff3ccaa65 /source3
parent70806db06adb1dafd4de8728bb7b367b84f3740a (diff)
downloadsamba-f4affb4382d4895589d0eceda765ae5bdc1df855.tar.gz
samba-f4affb4382d4895589d0eceda765ae5bdc1df855.tar.bz2
samba-f4affb4382d4895589d0eceda765ae5bdc1df855.zip
r22505: Fix build
(This used to be commit cc38ffb9a45b008ab7bbc3299610bd0dfec13aa9)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
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();