summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2005-04-19 03:57:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:35 -0500
commitd2f0a9fab9bd3989c61c05e717ee43e4a699b68a (patch)
tree380543a2a1c0b33f0e10eef50f3fe6753f0427c5 /source4
parent7e85d8b6f244a7e45b03e103ff9c930c7038e1dd (diff)
downloadsamba-d2f0a9fab9bd3989c61c05e717ee43e4a699b68a.tar.gz
samba-d2f0a9fab9bd3989c61c05e717ee43e4a699b68a.tar.bz2
samba-d2f0a9fab9bd3989c61c05e717ee43e4a699b68a.zip
r6384: Formatting fixes.
rafal (This used to be commit ebf151ca6e740fb7939161de14a0adfc47f80010)
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/userinfo.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/source4/libnet/userinfo.c b/source4/libnet/userinfo.c
index 16c9c0beb9..86dcb9429c 100644
--- a/source4/libnet/userinfo.c
+++ b/source4/libnet/userinfo.c
@@ -33,17 +33,18 @@ static void userinfo_handler(struct rpc_request *req);
enum userinfo_stage { USERINFO_OPENUSER, USERINFO_GETUSER, USERINFO_CLOSEUSER };
struct userinfo_state {
- enum userinfo_stage stage;
- struct dcerpc_pipe *pipe;
- struct rpc_request *req;
- struct policy_handle user_handle;
- uint16_t level;
+ enum userinfo_stage stage;
+ struct dcerpc_pipe *pipe;
+ struct rpc_request *req;
+ struct policy_handle user_handle;
+ uint16_t level;
struct samr_OpenUser openuser;
struct samr_QueryUserInfo queryuserinfo;
struct samr_Close samrclose;
union samr_UserInfo *info;
};
+
/**
* Stage 1: Open user policy handle in SAM server.
*/
@@ -76,7 +77,6 @@ failure:
/**
* Stage 2: Get requested user information.
*/
-
static NTSTATUS userinfo_getuser(struct composite_context *c,
struct userinfo_state *s)
{
@@ -162,8 +162,7 @@ static void userinfo_handler(struct rpc_request *req)
*/
struct composite_context *rpc_composite_userinfo_send(struct dcerpc_pipe *p,
struct rpc_composite_userinfo *io)
-{
-
+{
struct composite_context *c;
struct userinfo_state *s;
struct dom_sid *sid;