Re: Restrictions using Samba

From: Kendall Lister <kendall@dont-contact.us>
Date: Sat, 4 Mar 2000 10:06:17 +1100 (EST)

On Thu, 2 Mar 2000, Clifton Royston wrote:

> So assuming you can figure out how to get some users authenticated
> into group 1, and others into group 2, and assuming that there *is* a
> way to split the authorized users into two groups, this might look
> like:
>
> acl someusers [rule to match users]
> acl otherusers [rule to match users]
> acl sometimes MTWHF 9:00-18:00 # Assuming those are the relevant times
> acl othertimes MTWHF 18:00-23:59 # Weekday evenings only
> http_access allow someusers sometimes
> http_access allow otherusers othertimes

Okay, I've spotted the obvious flaw in the suggestion I posted a few
minutes ago... :)

I think it might be time for a pair of text files containing the two lists
of user names, and using these something like:

acl first_user_group auth "./first_users"
acl second_user_group auth "./second_users"
acl first_time MTWHF 9:00-18:00
acl second_time MTWHF 18:00-23:59 (copied from above)
http_access allow first_user_group first_time
http_access allow second_user_group second_time

Are we getting closer? :)

--
 Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au
  Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781
Received on Sat Mar 04 2000 - 03:33:35 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:53 MST