ldap/imapd

Dmitriy Kirhlarov dkirhlarov at oilspace.com
Tue Jun 7 09:32:40 EDT 2005


Hi, list.

I want use cyrus-imapd with ldap authentication.
ldap-server not local.

Many stories in the internet with using saslauthd and NOT using ldapS.
I not want use saslauthd and want use ldap-over-ssl.

My system and packages:
uname -rs && pkg_info -Ix cyrus
FreeBSD 5.4-RELEASE-p1
cyrus-imapd-2.2.12  The cyrus mail server, supporting POP3 and IMAP4 protocols
cyrus-sasl-2.1.20_1 RFC 2222 SASL (Simple Authentication and Security Layer)
cyrus-sasl-ldapdb-2.1.21 SASL LDAPDB auxprop plugin

my imapd.conf:
admins: root cyrus khamits
allowanonymouslogin: 1
configdirectory: /var/imap
defaultdomain: clh.cluster
partition-default: /var/spool/imap
fulldirhash: 1
hashimapspool: 1
imapidresponse: 1
ldap_filter: (uid=%D)
ldap_member_attribute: uid
ldap_member_base: ou=users,o=higis
ldap_member_method: filter
ldap_restart: 1
ldap_uri: ldaps://clh.cluster/
sasl_pwcheck_method: auxprop
sievedir: /var/imap/sieve
sieveusehomedir: 1
servername: clh.cluster
singleinstancestore: 1
tls_ca_file: /etc/ssl/CA/cacert.pem
tls_cert_file: /etc/ssl/CA/certs/cyrus-imapd.crt
tls_key_file: /etc/ssl/CA/ssl.key/cyrus-imapd.key

I install cmu-backend.conf as cyrus.conf

When I run
/usr/local/etc/rc.d/imapd.sh start 

I get this messages in the log:
Jun  7 17:25:30 clh0 master[65028]: process started
Jun  7 17:25:31 clh0 master[65032]: about to exec /usr/local/bin/ksrvtgt
Jun  7 17:25:31 clh0 master[65032]: can't exec /usr/local/bin/ksrvtgt for startup: No such file or directory
Jun  7 17:25:31 clh0 master[65028]: process 65032 exited, status 71
Jun  7 17:25:31 clh0 master[65033]: about to exec /usr/local/cyrus/bin/ctl_cyrusdb
Jun  7 17:25:31 clh0 ctl_cyrusdb[65033]: recovering cyrus databases
Jun  7 17:25:31 clh0 ctl_cyrusdb[65033]: skiplist: recovered /var/imap/mailboxes.db (0 records, 144 bytes) in 0 seconds
Jun  7 17:25:31 clh0 ctl_cyrusdb[65033]: skiplist: recovered /var/imap/annotations.db (0 records, 144 bytes) in 0 seconds
Jun  7 17:25:31 clh0 ctl_cyrusdb[65033]: done recovering cyrus databases
Jun  7 17:25:31 clh0 master[65034]: about to exec /usr/local/cyrus/bin/ctl_mboxlist
Jun  7 17:25:31 clh0 master[65028]: process 65034 exited, status 75
Jun  7 17:25:31 clh0 master[65028]: unable to create notifyd listener socket: No such file or directory
Jun  7 17:25:31 clh0 master[65028]: unable to create lmtpunix listener socket: No such file or directory
Jun  7 17:25:31 clh0 master[65028]: unable to create ptloader listener socket: No such file or directory
Jun  7 17:25:31 clh0 master[65028]: ready for work
Jun  7 17:25:31 clh0 master[65035]: about to exec /usr/local/bin/ksrvtgt
Jun  7 17:25:31 clh0 master[65035]: can't exec /usr/local/bin/ksrvtgt on schedule: No such file or directory


Where is error in my config?

-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 095 105 7245 F:+7 095 105 7246 E:DmitriyKirhlarov at oilspace.com
OILspace - The resource enriched - www.oilspace.com
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list