summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-12-19 00:15:29 +0000
committerJean-François Micouleau <jfm@samba.org>2001-12-19 00:15:29 +0000
commitea274ac97ff5c46c5f910c38b463d6a553dea9e6 (patch)
treee2d446bb414e427483c4430bb0cdbc8964608c52 /source3/rpc_server
parentdccc1ed3f8344968129c73104c1bdf8ab8b2a1e5 (diff)
downloadsamba-ea274ac97ff5c46c5f910c38b463d6a553dea9e6.tar.gz
samba-ea274ac97ff5c46c5f910c38b463d6a553dea9e6.tar.bz2
samba-ea274ac97ff5c46c5f910c38b463d6a553dea9e6.zip
added info level 1 to samr_query_alias()
(This used to be commit 589aa4fe226ee5bdae0a244631193714b0b556ac)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_samr_nt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 78535e4c2b..b918b4dca1 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -1200,6 +1200,11 @@ NTSTATUS _samr_query_aliasinfo(pipes_struct *p, SAMR_Q_QUERY_ALIASINFO *q_u, SAM
return NT_STATUS_NO_SUCH_ALIAS;
switch (q_u->switch_level) {
+ case 1:
+ r_u->ptr = 1;
+ r_u->ctr.switch_value1 = 1;
+ init_samr_alias_info1(&r_u->ctr.alias.info1, map.nt_name, 1, map.comment);
+ break;
case 3:
r_u->ptr = 1;
r_u->ctr.switch_value1 = 3;