diff options
author | Günther Deschner <gd@samba.org> | 2009-10-26 23:37:21 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-10-28 12:24:17 +0100 |
commit | c352a73badefd8d97389aff58e555a0348b5f411 (patch) | |
tree | 076864e5dca9f5ab62b8188f5d23ffbc4df4f791 /source3/rpc_server | |
parent | 6937e01e3eb13108e1dc12a986dfde49fa8a3671 (diff) | |
download | samba-c352a73badefd8d97389aff58e555a0348b5f411.tar.gz samba-c352a73badefd8d97389aff58e555a0348b5f411.tar.bz2 samba-c352a73badefd8d97389aff58e555a0348b5f411.zip |
s3-lsa: pure cosmetic indentation fixes.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 9a89c07cf2..986b12685a 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -372,9 +372,8 @@ NTSTATUS _lsa_OpenPolicy2(pipes_struct *p, } status = access_check_object(psd, p->server_info->ptok, - NULL, 0, des_access, - &acc_granted, "_lsa_OpenPolicy2" ); - + NULL, 0, des_access, + &acc_granted, "_lsa_OpenPolicy2" ); if (!NT_STATUS_IS_OK(status)) { return status; } @@ -1675,9 +1674,9 @@ NTSTATUS _lsa_CreateAccount(pipes_struct *p, return status; } - status = access_check_object(psd, p->server_info->ptok, - NULL, 0, r->in.access_mask, - &acc_granted, "_lsa_CreateAccount"); + status = access_check_object(psd, p->server_info->ptok, + NULL, 0, r->in.access_mask, + &acc_granted, "_lsa_CreateAccount"); if (!NT_STATUS_IS_OK(status)) { return status; } @@ -1746,9 +1745,8 @@ NTSTATUS _lsa_OpenAccount(pipes_struct *p, } status = access_check_object(psd, p->server_info->ptok, - NULL, 0, des_access, - &acc_granted, "_lsa_OpenAccount" ); - + NULL, 0, des_access, + &acc_granted, "_lsa_OpenAccount" ); if (!NT_STATUS_IS_OK(status)) { return status; } @@ -2138,10 +2136,10 @@ NTSTATUS _lsa_AddAccountRights(pipes_struct *p, * on the account sid. We don't check here so just use the latter. JRA. */ - status = access_check_object(psd, p->server_info->ptok, - NULL, 0, LSA_ACCOUNT_ADJUST_PRIVILEGES|LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS|LSA_ACCOUNT_VIEW, - &acc_granted, "_lsa_AddAccountRights" ); - + status = access_check_object(psd, p->server_info->ptok, + NULL, 0, + LSA_ACCOUNT_ADJUST_PRIVILEGES|LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS|LSA_ACCOUNT_VIEW, + &acc_granted, "_lsa_AddAccountRights" ); if (!NT_STATUS_IS_OK(status)) { return status; } @@ -2208,11 +2206,11 @@ NTSTATUS _lsa_RemoveAccountRights(pipes_struct *p, * and DELETE on the account sid. */ - status = access_check_object(psd, p->server_info->ptok, - NULL, 0, LSA_ACCOUNT_ADJUST_PRIVILEGES|LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS| - LSA_ACCOUNT_VIEW|STD_RIGHT_DELETE_ACCESS, - &acc_granted, "_lsa_AddAccountRights" ); - + status = access_check_object(psd, p->server_info->ptok, + NULL, 0, + LSA_ACCOUNT_ADJUST_PRIVILEGES|LSA_ACCOUNT_ADJUST_SYSTEM_ACCESS| + LSA_ACCOUNT_VIEW|STD_RIGHT_DELETE_ACCESS, + &acc_granted, "_lsa_AddAccountRights" ); if (!NT_STATUS_IS_OK(status)) { return status; } |