summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-17 15:56:58 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-17 15:56:58 +0000
commitdfc98bd6efc023a4215081cd94209d43f20c4cbe (patch)
tree42112c20c656237e97b610b3dda036e31f474527 /source3
parentf7e06fa12b4102a085c4c499dad35daaa61bbc3a (diff)
downloadsamba-dfc98bd6efc023a4215081cd94209d43f20c4cbe.tar.gz
samba-dfc98bd6efc023a4215081cd94209d43f20c4cbe.tar.bz2
samba-dfc98bd6efc023a4215081cd94209d43f20c4cbe.zip
Also set alias info for builtins.
Volker (This used to be commit 32682cd81485e295720fc65c98669c2e6e5c6043)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index c0d352483f..a087e28f09 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -4116,7 +4116,8 @@ NTSTATUS _samr_set_aliasinfo(pipes_struct *p, SAMR_Q_SET_ALIASINFO *q_u, SAMR_R_
return r_u->status;
}
- if (!get_local_group_from_sid(&group_sid, &map))
+ if (!get_local_group_from_sid(&group_sid, &map) &&
+ !get_builtin_group_from_sid(&group_sid, &map))
return NT_STATUS_NO_SUCH_GROUP;
ctr=&q_u->ctr;