Listing 4: Configuration file for the directory server Web gateway
ribozyme% more dsgw.conf
# Used by Netscape Directory Server Gateway
baseurl
"ldap://directory.gene.cinvestav.mx:389/o%3DCINVESTAV%2C%20c%3DMX"
dirmgr "cn=Directory Manager, o=CINVESTAV, c=MX"
location-suffix "o=CINVESTAV, c=MX"
securitypath /usr/netscape/suitespot/slapd-LDAP/dsgw/ssl
# The authlifetime directive specifies how long authentication
# credentials are valid (in seconds).
authlifetime 7200
# Mapping between config/display-XXX.html templates and LDAP
# objectClasses.
# This can be generated by using ds/templateindex. The format is:
#
# template TEMPLATENAME OBJECTCLASSES
#
# where "display-TEMPLATENAME.html" is the name of a display template
# that is found in this config directory (e.g., "display-group.html")
# and OBJECTCLASSES is a list of one or more objectClass values. For a
# given template to be used, all the objectClass values listed
# must be present in the directory entry, so the order of these
# template lines is significant (e.g., note that the more
# specific "umperson" and "orgperson" templates are listed
# before the one for an ordinary "person").
#
template group groupOfNames
template groupun groupOfUniqueNames
template mailgroup rfc822mailgroup
template org organization
template orgunit organizationalUnit
template umperson person umichPerson
template orgperson person inetOrgPerson
template person person
template country country
#
# The remainder of this file contains information about
# the locations and types for new entries.
#
# "location" lines define places in the directory
# where new entries can be added
# The format of each line is:
# location HANDLE FRIENDLYNAME DN
# where HANDLE is a short name which is used in the 3 "newtype" lines
# (see below) and FRIENDLYNAME is a human-readable name for the location
# and DN is the Distinguished Name for this location (if it does not end
# with '#', the location-suffix is appended to to construct
# a full DN; if it does end with `#', it assumed to
# be a full DN and the `#' is removed).
#
location country "Mexico" "c=MX#"
location org "CINVESTAV" ""
location groups "Organizational Groups" "ou=Groups"
location bc "Biologia Celular" "ou=Biologia Celular"
location bq "Bioquimica" "ou=Bioquimica"
location bt "Biotecnologia" "ou=Biotecnologia"
location ft "Farmacologia y Toxicologia" "ou=Farmacologia"
location fis "Fisica" "ou=Fisica"
location fisio "Fisiologia" "ou=Fisiologia"
location gene "Genetica" "ou=Genetica y
Biologia Molecular"
location ie "Ingenieria Electrica "ou=Ingenieria
Electrica"
location math "Matematicas" "ou=Matematicas"
location pat "Patologia Experimental" "ou=Patologia Experimental"
location quim "Quimica" "ou=Quimica"
location adm "Administracion" "ou=Administracion"
location bab "Biblioteca Area Biologica" "ou=Biblioteca Area
Biologica"
location csb "Coordinacion de Servicios "ou=Coordinacion de
Bibliograficos" Servicios
Bibliograficos"
location cin "CINVESRED" "ou=CINVESRED"
# "newtype" lines define the types of new entries
# that may be added.
# The format of each line is:
# newtype TEMPLATENAME FRIENDLYNAME RDNATTR LOCATIONS...
# where TEMPLATENAME corresponds to an existing display-
# TEMPLATENAME.html file
# and FRIENDLYNAME is a human-readable name for this type
# of entry and RDNATTR is the attribute that is used
# to name entries of this type and LOCATIONS is a
# blank-separated list of locations where these types
# of entries can be added (corresponding to a HANDLE
# on a "location" config. file line).
#
newtype orgperson "Person" cn bc bt bq ft fis fisio gene \
ie math pat quim adm bab \
csb cin
newtype groupun "Group" cn
groups
newtype orgunit "Department or Section" ou org
#newtype org "Organization" o
country
# End of File
|