summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-17 15:54:57 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-17 15:54:57 +0000
commit34a9928ee1c141f2cdb498d96bb09e7498cf090f (patch)
tree788d3e102fbf88a2a1cda60b71050b5a1b3102cc /source3
parent96a5c5e38c1e6bd26a73adadeb42dbb488a6c75d (diff)
downloadsamba-34a9928ee1c141f2cdb498d96bb09e7498cf090f.tar.gz
samba-34a9928ee1c141f2cdb498d96bb09e7498cf090f.tar.bz2
samba-34a9928ee1c141f2cdb498d96bb09e7498cf090f.zip
Be able to set alias info for builtin as well.
Volker (This used to be commit 7a947ecdf56f2dd02811262372708f8a74bfedad)
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;