Commit 1fa75a45 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor change to nonlocal_user handling; slices are created in

subgroups of GeniSlices, so need to return that extra group
and group membership for users bound to the slice.
parent f94e8562
......@@ -2584,10 +2584,12 @@ COMMAND_PROTOTYPE(doaccounts)
"join nonlocal_users as u on "
" b.uid_idx=u.uid_idx "
"join groups as g on "
" g.pid='%s' and g.pid=g.gid "
" g.pid='%s' and "
" (g.pid=g.gid or g.gid='%s') "
"where (b.exptidx='%d') "
"order by u.uid",
18, reqp->pid, reqp->exptidx);
18, reqp->pid, reqp->gid,
reqp->exptidx);
if (res) {
if ((nrows = mysql_num_rows(res)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment