da es mit der sasldb nicht klappt, postfix arbeitet nicht mit der sasldb zusammen(im chroot)bin ich dazu übergegangen ldap zunutzen. wollte ich immer schon malchen!mit addressbuch..etc.
systemuser sind nicht vorhanden. alle user sind im ldap verzeichnis gespeichert. alles user sind in der gruppe users, die auch im ldap verzeichnis liegen.
meine config dateien:
Code:
/etc/ldap/ldap.conf
base dc=zuhause,dc=xx
URI ldap://localhost
pam_crypt local
LDAP_VERSION 3
nss_base_passwd ou=people,dc=zuhause,dc=xx
nss_base_shadow ou=people,dc=zuhause,dc=xx
nss_base_group ou=groups,dc=zuhause,dc=xx
Code:
/etc/ldap/slap.conf
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/samba.schema
include /etc/ldap/schema/horde.schema
schemacheck on
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd.args
loglevel 256
modulepath /usr/lib/ldap
moduleload back_bdb
badatabase bdb
suffix "dc=zuhause,dc=xx"
rootdn "cn=admin,dc=zuhause,dc=xx"
rootpw {crypt}ezNsE7N98SiUI
dindex objectClass eq
irectory "/var/lib/ldap"
lastmod on
access to attrs=userPassword
by dn="cn=admin,dc=zuhause,dc=xx" write
by anonymous auth
by self write
by * none
access to dn.base=""
by * read
access to attr=userPassword,userPKCS12
by self write
by * auth
access to *
by * read
/etc/saslauthd.conf
/etc/imapd.conf
/etc/postfix/sasl/smtpd.conf
/etc/nsswitch.conf = /etc/lib-nssldap.conf
/etc/pam_ldap.conf
/etc/pam.d/smtp
/etc/pam.d/ssh
/etc/pam.d/imap
/etc/default/saslauthd
Lesezeichen