[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: State Threads



i'm trying to create an addressbook in ldap that outlook express can
understand.
to that end i specified the lines below in my slapd.conf
now how do i add entries?? how do i create a microsoft address tree?
so basically i have
dc=dino,dc=com
and then directly underneath that i have cn's of users
but i want to make du=microsoftaddressbook,dc=dino,dc=com
or some such name as above and put user info underneath that tree..
how do i create the above folder
and how do i add users?/?
particularly what do i specify in the objectclass attribute and should i
specify a cn=Bob Dole objectclass=microsoftaddressbook
and then fill in all the fields???
let me know thanks.



# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18
kur
t Exp $
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /usr/local/openldap/etc/openldap/schema/core.schema

# Define global ACLs to disable default read access.

# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral       ldap://root.openldap.org

pidfile         /usr/local/openldap/var/slapd.pid
argsfile        /usr/local/openldap/var/slapd.args

# Load dynamic backend modules:
# modulepath    /usr/local/openldap/libexec/openldap
# moduleload    back_ldap.la
# moduleload    back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la
#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix          "dc=dino,dc=com"
#suffix         "o=My Organization Name, c=US"
rootdn          "cn=Manager,dc=dino,dc=com"
#rootdn         "cn=Manager, o=My Organization Name, c=US"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw          secret
# The database directory MUST exist prior to running slapd AND
# should only be accessable by the slapd/tools. Mode 700 recommended.
directory       /usr/local/openldap/var/openldap-ldbm
# Indices to maintain
#index uid pres,eq
#index cn,sn,uid pres,eq,approx,sub
#index objectCass eq
objectclass microsoftaddressbook
        requires
                objectclass,
                url
        allows
                c,
                department,
                facsimiletelephonenumber,
                givenname,
                homephone,
                homepostaladdress,
                info,
                initials,
                l,
                mail,
                mobile,
                organizationname,
                otherfacsimiletelephonenumber,
                otherpager,
                postaladdress,
                postalcode,
                sn,
                st,
                telephonenumber
                title,