Cyrus IMAP 2.2.3 & ldapdb auxprop
Alex Deiter
tiamat at komi.mts.ru
Tue Mar 2 12:29:32 EST 2004
> Well, this is a bug in cyrus and openldap libs (and the sasl lib which
> prevents cyrus from being fixed). Fortunately,
> http://www.openldap.org/its/index.cgi?findid=2926 fixes the problem.
> Although, the fix is available in openldap 2.2.6 and 2.1.27.
Yes, therefore I have updated OpenLDAP up to 2.2.6. Big to you thanks for
this patch!
Without this patch for me did not work sendmail+sasl+ldapdb auxprop plugin.
> This setup works for me: ldapdb compiled with 2.1.26 + the above patch
> (ldapdb + openldap libs 2.2.6 and 2.1.27 should work without the patch).
What version Cyrus IMAP ?
2.2.3 did not work, 2.1.16 work fine:
# /usr/local/bin/imtest -u tiamat -a tiamat -v -m DIGEST-MD5 solveig
S: * OK solveig.komi.mts.ru Cyrus IMAP4 v2.1.16 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT
THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=OTP AUTH=NTLM AUTH=GSSAPI
AUTH=DIGEST-MD5 AUTH=CRAM-MD5
S: C01 OK Completed
C: A01 AUTHENTICATE DIGEST-MD5
S: +
bm9uY2U9Imp4S3d2Z3lhK0IwWSt6bGZ5anJDV3hYMmQ0VGdjVWpEVzMybXo5b0hZbU09IixyZWFs
bT0ic29sdmVpZy5rb21pLm10cy5ydSIscW9wPSJhdXRoLGF1dGgtaW50LGF1dGgtY29uZiIsY2lw
aGVyPSJyYzQtNDAscmM0LTU2LHJjNCxkZXMsM2RlcyIsbWF4YnVmPTQwOTYsY2hhcnNldD11dGYt
OCxhbGdvcml0aG09bWQ1LXNlc3M=
Please enter your password:
C:
dXNlcm5hbWU9InRpYW1hdCIscmVhbG09InNvbHZlaWcua29taS5tdHMucnUiLG5vbmNlPSJqeEt3
dmd5YStCMFkremxmeWpyQ1d4WDJkNFRnY1VqRFczMm16OW9IWW1NPSIsY25vbmNlPSIrQ0VXR0Fx
WTIvbDIrRkdRYmVIVmRPa1NUamFlV2xhZEp4MGdQWXpNNXQ0PSIsbmM9MDAwMDAwMDEscW9wPWF1
dGgtY29uZixjaXBoZXI9cmM0LG1heGJ1Zj0xMDI0LGRpZ2VzdC11cmk9ImltYXAvc29sdmVpZy5r
b21pLm10cy5ydSIscmVzcG9uc2U9MDE0ZWFkNGM2YTI2ODA2ODY3MTk2ZjgxNjczODUyMzk=
S: + cnNwYXV0aD02MzEyYzg5OTMxZjFhZDAwYmQ5YmYzMDBjN2EyMDhjZg==
C:
S: A01 OK Success (privacy protection)
Authenticated.
Security strength factor: 128
> Make sure to compile ldapdb auxprop with openldap 2.2.6 libs. What does
> 'ldd libldapdb.so' say?
# ldd /usr/local/lib/sasl2/libldapdb.so.2
/usr/local/lib/sasl2/libldapdb.so.2:
libldap.so.202 => /usr/local/lib/libldap.so.202 (0x28156000)
liblber.so.202 => /usr/local/lib/liblber.so.202 (0x28189000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x28196000)
libcrypto.so.3 => /lib/libcrypto.so.3 (0x281c8000)
libc.so.5 => /lib/libc.so.5 (0x28076000)
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x282d8000)
I have only one version openldap - 2.2.6.
Thanks a lot!
---
Home Page: http://asg.web.cmu.edu/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