summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-25 15:50:28 +0100
committerGünther Deschner <gd@samba.org>2008-11-27 18:28:25 +0100
commit9c2ed82d07a4c989896610d91aa2ff1614c579aa (patch)
tree2eacfbd51531ae9c8eb5d92eef2ed30dab02979b /source3
parentbed91c0e463ed425288f7b4223739108c1fced45 (diff)
downloadsamba-9c2ed82d07a4c989896610d91aa2ff1614c579aa.tar.gz
samba-9c2ed82d07a4c989896610d91aa2ff1614c579aa.tar.bz2
samba-9c2ed82d07a4c989896610d91aa2ff1614c579aa.zip
s3-samr: support samr_QueryUserInfo2 as well.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c25
1 files changed, 15 insertions, 10 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 0623dfb4f9..b0c317f22b 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -2837,6 +2837,21 @@ NTSTATUS _samr_QueryUserInfo(pipes_struct *p,
return status;
}
+/****************************************************************
+****************************************************************/
+
+NTSTATUS _samr_QueryUserInfo2(pipes_struct *p,
+ struct samr_QueryUserInfo2 *r)
+{
+ struct samr_QueryUserInfo u;
+
+ u.in.user_handle = r->in.user_handle;
+ u.in.level = r->in.level;
+ u.out.info = r->out.info;
+
+ return _samr_QueryUserInfo(p, &u);
+}
+
/*******************************************************************
_samr_GetGroupsForUser
********************************************************************/
@@ -6012,16 +6027,6 @@ NTSTATUS _samr_TestPrivateFunctionsUser(pipes_struct *p,
/****************************************************************
****************************************************************/
-NTSTATUS _samr_QueryUserInfo2(pipes_struct *p,
- struct samr_QueryUserInfo2 *r)
-{
- p->rng_fault_state = true;
- return NT_STATUS_NOT_IMPLEMENTED;
-}
-
-/****************************************************************
-****************************************************************/
-
NTSTATUS _samr_AddMultipleMembersToAlias(pipes_struct *p,
struct samr_AddMultipleMembersToAlias *r)
{