Commit 3ccfb52c authored by Leigh Stoller's avatar Leigh Stoller

ZFS_NOEXPORT change; add check of user_stats.weblogin_last when looking for

recent users.
parent b72972fd
......@@ -245,6 +245,8 @@ if ($WITHZFS && $ZFS_NOEXPORT) {
" m.uid_idx=u.uid_idx and m.pid=m.gid ".
"where ((UNIX_TIMESTAMP(now()) - ".
" UNIX_TIMESTAMP(s.last_activity)) <= $limit) or ".
" ((UNIX_TIMESTAMP(now()) - ".
" UNIX_TIMESTAMP(s.weblogin_last)) <= $limit) or ".
" admin=1");
while (my ($uid,$pid) = $active_result->fetchrow_array()) {
$bossexports{"$usersdir/$uid"} = "$usersdir/$uid";
......
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