cyradm freebsd ldap auth problem

Luís Cargnini lvcargnini at gmail.com
Wed Jun 29 11:42:15 EDT 2005


i did the modifications
testsaslauthd -u cyrus -p "*********"
0: OK "Success."
%cyradm --user cyrus localhost
IMAP Password:
              Invalid user at
/usr/local/lib/perl5/site_perl/5.8.6/mach/Cyrus/IMAP/Admin.pm line 118
cyradm: cannot authenticate to server with  as cyrus


On 29/06/05, Ondrej Sury <ondrej at sury.org> wrote:
> On Wed, 2005-06-29 at 07:58 -0300, Luís Cargnini wrote:
> > On 29/06/05, Ondrej Sury <ondrej at sury.org> wrote:
> > > What is your auth method?  Ie. show us output of:
> > >
> > > grep -E ^sasl /etc/imapd.conf
> > >
> > sasl_minimum_layer: 1
> > sasl_pwcheck_method: saslauthd
> > sasl_ldap_servers: localhost
> > sasl_ldap_bind_dn: cn=Manager,dc=domain,dc=com,dc=br
> > sasl_ldap_bind_pw: *************
> > sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5 NTLM
> 
> You are mixing saslauthd and auxprop together.
> 
> It should look like:
> 
> #grep -E ^sasl /etc/imapd.conf
> 
> sasl_mech_list: PLAIN LOGIN
> sasl_pwcheck_method: saslauthd
> sasl_auto_transition: no
> 
> How does your /etc/saslauthd.conf looks like?  It should be something
> like:
> 
> ldap_servers: ldap://localhost
> ldap_version: 3
> ldap_auth_method: bind
> ldap_default_realm: localhost
> ldap_filter: uid=%u@%r
> ldap_bind_dn: cn=Manager,dc=domain,dc=com,dc=br
> ldap_bind_pw: xxxx
> ldap_search_base: dc=domain,dc=com,dc=br
> 
> (read LDAP_SASLAUTHD doc in your cyrus-sasl distribution)
> 
> > > if you are using saslauthd, then does testsaslauthd works?
> > >
> > how could i test it ?
> 
> man testsaslauthd
> 
> > > And did you read and understand all installation instructions?
> > >
> > yes
> 
> Then first your SASL must work...  only after that you can log into
> cyrus.
> 
> Ondrej.
> --
> Ondrej Sury <ondrej at sury.org>
> 
> 


-- 
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Mastering Degree student @ PUC-RS Eletrical Engineer Faculty

---
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