Cover V06, I09
Article
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Listing 1
Listing 2
Listing 3
Listing 4
Sidebar 1

sep97.tar


Listing 2: DS configuration files

sldap.conf:
# Used by Netscape Directory Server
include   /usr/ns-home/slapd-cinvestav/config/slapd.at.conf
include   /usr/local/ns-home/slapd-cinvestav/config/slapd.oc.conf
accesslog /usr/local/ns-home/slapd-cinvestav/logs/access
errorlog  /usr/ns-home/slapd-cinvestav/logs/errors
security-path  /usr/local/ns-home/slapd-cinvestav/ssl
localuser ldap
localhost directory.gene.cinvestav.mx
port 389
security  off
secure-port    636
sizelimit 500
timelimit 3600
schemacheck    on
lastmod   on
database  ldbm
#############################################################
# ldbm database definitions
#############################################################
suffix    "o=CINVESTAV, c=MX"
suffix    dc=directory,dc=gene,dc=cinvestav,dc=mx
rootdn    "cn=Directory Manager, o=CINVESTAV, c=MX"
rootpw    xxxxxxxxxx
directory /usr/ns-home/slapd-cinvestav/db
index     subtreeACI pres
index     cn,sn,mail,telephoneNumber pres,eq,sub
index     uid pres,eq
mode 0600
cachesize 1000
dbcachesize    100000

slapd.oc.conf (fragment):
#
# slapd.oc.conf
#
objectclass top
requires
objectClass

objectclass country
requires
objectClass,
c
allows
searchGuide,
description

objectclass organization
requires
objectClass,
o
allows
businessCategory,
description,
destinationIndicator,
facsimileTelephoneNumber,
internationaliSDNNumber,
l,
physicalDeliveryOfficeName,
postOfficeBox,
postalAddress,
postalCode,
preferredDeliveryMethod,
registeredAddress,
searchGuide,
seeAlso,
st,
streetAddress,
telephoneNumber,
teletexTerminalIdentifier,
telexNumber,
userPassword,
x121Address

objectclass person
requires
objectClass,
sn,
cn
allows
description,
seeAlso,
telephoneNumber,
userPassword


objectclass inetOrgPerson
requires
objectClass,
sn,
cn
allows
audio,
businessCategory,
carLicense,
departmentNumber,
description,
destinationIndicator,
employeeType,
employeeNumber,
facsimileTelephoneNumber,
givenName,
homePhone,
homePostalAddress,
initials,
internationaliSDNNumber,
jpegPhoto,
l,
labeledURI,
ou,
manager,
mobile,
pager,
photo,
physicalDeliveryOfficeName,
postOfficeBox,
postalAddress,
postalCode,
preferredDeliveryMethod,
registeredAddress,
mail,
roomNumber,
secretary,
seeAlso,
st,
streetAddress,
telephoneNumber,
teletexTerminalIdentifier,
telexNumber,
title,
uid,
x500uniqueIdentifier,
userPassword,
userCertificate,
userCertificate;binary,
x121Address

slapd.at.conf (partial)
#
# slapd.at.conf
#
attribute businesscategory             cis
attribute c    countryname             cis
attribute carlicense                   cis
attribute departmentnumber             cis
attribute description                  cis
attribute dnsrecord                    cis
attribute employeenumber               cis
attribute employeetype                 cis
attribute expire                       cis
attribute givenname                    cis
attribute homepostaladdress            cis
attribute host                         cis
attribute keywords                     cis
attribute mail rfc822mailbox           cis
attribute o    organizationname        cis
attribute objectclass                  cis
attribute ou   organizationalunitname  cis
attribute postaladdress                cis
attribute postalcode                   cis
attribute postofficebox                cis
attribute roomnumber                   cis
attribute sn   surname                 cis
attribute street                       cis
attribute uid                          cis
attribute authorityrevocationlist      bin
attribute certificate                  bin
attribute certificaterevocationlist    bin
attribute jpegphoto                    bin
attribute personalsignature            bin
attribute usercertificate              bin
attribute x500uniqueidentifier         bin
attribute userpassword                 bin
attribute pager   pagertelephonenumber  tel
attribute telephonenumber              tel
attribute dn                           dn
attribute secretary                    dn
attribute seealso                      dn