Defining Access At A Specific Time Of Day Or Day Of Week; Examples - Red Hat DIRECTORY SERVER 7.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Bind Rules
Defining Access at a Specific Time of Day or Day of
Week
You can use bind rules to specify that binding can only occur at a certain time of
day or on a certain day of the week. For example, you can set a rule that will allow
access only if it is between the hours of 8 a.m. and 5 p.m. Monday through Friday.
The time used to evaluate access rights is the time on the Directory Server, not the
time on the client.
The LDIF syntax for setting a bind rule based on the time of day is as follows:
timeofday operator "time"
where
greater than (>), greater than or equal to (>=), less than (<), or less than or equal to
(<=).
The
timeofday
the 24 hour clock (0 to 2359).
NOTE
The LDIF syntax for setting a bind rule based on the day in the week is as follows:
dayofweek = "day1, day2 ..."
The possible values for the
abbreviations for the days of the week:

Examples

The following are examples of the
timeofday = "1200";
The bind rule is evaluated to be true if the client is accessing the directory at
noon.
timeofday != "0100";
The bind rule is evaluated to be true if the client is accessing the directory at
any time other than 1 a.m.
timeofday > "0800";
234
Red Hat Directory Server Administrator's Guide • May 2005
can be one of the following symbols: equal to (=), not equal to (!=),
operator
keyword requires a time of day expressed in hours and minutes in
The time on the server is used for the evaluation, not the time on
the client.
dayofweek
keyword are the English three-letter
,
,
,
sun
mon
tue
wed
and
timeofday
dayofweek
,
,
,
.
thu
fri
sat
syntax:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 7.1

Table of Contents