cyradm freebsd ldap auth problem

Luís Cargnini lvcargnini at gmail.com
Thu Jun 30 11:04:05 EDT 2005


imapd.conf
#sasl_maximum_layer: 256
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_auto_transition: no
#sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5 NTLM
sasl_mech_list: PLAIN LOGIN
yes i started with -d 
but no i don't seted the CYRUS_VERBOSE



On 30/06/05, Joerg Pulz <Joerg.Pulz at frm2.tum.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Wed, 29 Jun 2005, Luís Cargnini wrote:
> 
> > i still receiving the same error 8-(
> >
> > On 29/06/05, Joerg Pulz <Joerg.Pulz at frm2.tum.de> wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >>
> >> On Wed, 29 Jun 2005, Luís Cargnini wrote:
> >>
> >>> 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
> >>
> >> Hi,
> >>
> >> please make sure that there is a file named Cyrus.conf in
> >> /usr/local/lib/sasl2/ !
> >> Put the following line into this file at the topmost position:
> >> pwcheck_method: saslauthd
> >>
> >> If you have done this, your authentication via ldap should work.
> >> the testsaslauthd utility is only usable to verufy that saslauthd is
> >> working as expected, but says nothing about the cyrus-imapd part.
> 
> Hi again,
> 
> what values did you have in your imapd.conf file for the following
> options:
> ###
> sasl_maximum_layer
> sasl_minimum_layer
> sasl_pwcheck_method
> sasl_mech_list
> ###
> 
> have you tried to start saslauthd with the '-d' option for debugging, to
> see what it gets from the imapd?
> 
> have you tried to start the cyrus master process with the environment
> variable CYRUS_VERBOSE set to 1 or any higher value to get some more
> debugging from it. maybe you will find something in this debug output
> which says that the process is unable to connect to the saslauthd socket.
> 
> regards
> joerg
> 
> - --
> The beginning is the most important part of the work.
>                                 -Plato
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (FreeBSD)
> 
> iD8DBQFCw6tlSPOsGF+KA+MRAl0HAKCAhgtUJIThN+ERdmC4zrdRYWu5vwCgjAhM
> v3Lha0XIUSq9THFsUnNj3tE=
> =5eoI
> -----END PGP SIGNATURE-----
> 


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