problems with cyrus sasl ldap pam authentication

Dmitriy Kirhlarov dkirhlarov at oilspace.com
Mon Sep 19 10:16:47 EDT 2005


On Mon, Sep 19, 2005 at 04:09:29PM +0300, nikolay.nenchev at rbb.bg wrote:
> I have create user account (posixAccount) in ldap through phpldapadmin. My
> ldif file is:
> #dn: dc=rbb,dc=bg
> #objectclass: top
> #objectclass: organization
> #o: RBB

It's not account

> After I execute a command:
> #cyradm --user cyrus localhost
> IMAP Password:
> 
> 		Login failed: authentication failure at
> /usr/lib/perl5/Cyrus/IMAP/Admin.pm line 118
> cyradm: cannot authenticate to server as user cyrus
> 
> #error in /var/log/syslog is:
> Sep 19 11:42:46 localhost cyrus/imap[7981]: executed
> Sep 19 11:42:46 localhost cyrus/imapd[7981]: accepted connection
> Sep 19 11:42:51 localhost cyrus/imapd[7981]: badlogin:
> localhost.localdomain[127.0.0.1] plaintext cyrus SASL(-13): authentication
> failure: checkpass failed
Look to /var/log/auth.log
Use log_level (look in options.html and in sasl.h).
Nice idea -- use direct connect between saslauthd and ldap-server, or between cyrus-imapd and ldap-server.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 095 105 7247 F:+7 095 105 7246 E:DmitriyKirhlarov at oilspace.com
OILspace - The resource enriched - www.oilspace.com


More information about the Cyrus-sasl mailing list