Re: Restrictions using Samba

From: Mark Atalla <[email protected]>
Date: Thu, 09 Mar 2000 14:06:50 +1100

thanks for all your help Kendall, I have been away for a few days and havn't been able to thank you sooner, I'll give this a try.
To clarify my understanding of this though, do the text files just store the NT User names that they are authenticating with? If that is right then this is exactly what I need.

Thanks again...
Mark.

>>> kendall@charon.net.au 03/04/00 10:11am >>>
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 Wed Mar 08 2000 - 20:09:59 MST

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