Hi all,
the courier mailserver works fine with local accounts over pam auth.
I want to setup courier for non system accounts using an LDAP Server.

And now ? How to put data (like user accounts) in the LDAP ?

Im a noob in LDAP, can anybody help me ?
Or have anybody a HowTo ?

Sorry, my english is bad.

Thanx for Help, Daniel Heule


I have setup my OpenLDAP with the folowing cofig:

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.2 2002/08/19 16:21:49 kurt Exp 
$
#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/authldap.schema
include                /etc/openldap/schema/misc.schema
include                /etc/openldap/schema/openldap.schema
include                /etc/openldap/schema/corba.schema
include                /etc/openldap/schema/java.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         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd/slapd.args

# Load dynamic backend modules:
#modulepath     /usr/lib/openldap/openldap
# moduleload     back_bdb.la
# moduleload     back_ldap.la
# moduleload     back_ldbm.la
# moduleload    back_passwd.la
# moduleload    back_shell.la

#
# Sample access control policy:
#       Allow read access of root DSE
#       Allow self write access
#       Allow authenticated users read access
#       Allow anonymous users to authenticate
# Directives needed to implement policy:
#access to dn.base="" by * read
#access to *
#       by self write
#       by users read
#       by anonymous auth
#
# if no access controls are present, the default policy is:
#       Allow read by all
#
# rootdn can always write!

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix  "dc=blackcrypt,dc=ch"
rootdn  "cn=Manager,dc=blackcrypt,dc=ch"
rootpw  pass
directory       /var/lib/ldap

index cn,sn,uid pres,eq
index mail eq
index objectClass eq

access to attr=userPassword
        by dn="cn=Manager,dc=blackcrypt,dc=ch" write
        by dn="cn=courier,dc=blackcrypt,dc=ch" read
        by self write
        by * auth
access to *
        by dn="cn=Manager,dc=blackcrypt,dc=ch" write
        by dn="cn=courier,dc=blackcrypt,dc=ch" read
        by self read
        by anonymous read

Typograph:/etc/openldap #

�+�zf��+,��좷�o$�����xI�z�k�DŽv+b��ϋ�{�Z��u*&z�b�
�y�m����
/j���y�&r������왨��x%��\���z��z�%��l���q���z�'���r��zm����+-��.�ǟ�����+-��b�ا~�ܢ��z��z�


Reply via email to