Examples - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

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 am and 5 pm 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
can be one of the following symbols: equal to (=), not equal to (!=),
operator
greater than (>), greater than or equal to (>=), less than (<), or less than or equal to
(<=).
The
keyword requires a time of day expressed in hours and minutes in
timeofday
the 24 hour clock (0 to 2359).
NOTE
The time on the server is used for the evaluation, and not the time
on the client.
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 dayofweek keyword are the English three-letter
abbreviations for the days of the week: sun, mon, tue, wed, thu, fri, sat.

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 am.
and
timeofday
dayofweek
Chapter 6
Bind Rules
syntax:
Managing Access Control
221

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents