help-gsasl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SASL(-1): generic failure +All-whitespace username.


From: Laurent Archambault
Subject: SASL(-1): generic failure +All-whitespace username.
Date: Sat, 7 Jun 2008 18:52:23 +0200

Hello,
After many search, nobody can do help me for my problem ...
When i use LDAP + CYRUS +(SASL) i have this error :
serveur cyrus/imap[7530]: badlogin: localhost [127.0.0.1] plaintext  SASL(-1): generic failure: All-whitespace username.

Postfix + SASL + LDAP are ready ...
serveur postfix/smtpd[12262]: A504B21A05C: client=serveur.archi.amt[127.0.1.1], sasl_method=PLAIN, sasl_username=laurent
serveur postfix/smtpd[12262]: Write 14 chars: 250 2.1.5 Ok??

I here my saslauth.conf :

cat /etc/saslauthd.conf
ldap_servers: ldap://127.0.0.1:389/
ldap_version: 3
ldap_search_base: dc=archi,dc=amt
ldap_scope: sub
ldap_filter: uid=%u
ldap_auth_method: bind
ldap_bind_dn: cn=Manager,dc=archi,dc=amt
ldap_password: secret
ldap_timeout: 10

cat /etc/imapd.conf
# Debian Cyrus imapd.conf
# $Id: imapd.conf 565 2006-08-14 16:51:28Z sven $
# See imapd.conf(5) for more information and more options

configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/cyrus/news
altnamespace: no
unixhierarchysep: yes
reject8bit: yes
munge8bit: no
lmtp_downcase_rcpt: yes
admins: cyrus
maxmessagesize: 20000000
#lmtp_admins: postman
#mupdate_admins: mupdateman
imap_admins: cyrus
sieve_admins: cyrus
# proxyservers: cyrus
allowanonymouslogin: no
# popminpoll: 1
autocreatequota: 0
umask: 077
# sendmail: /usr/sbin/sendmail
sieveusehomedir: false
sievedir: /var/spool/sieve
# mailnotifier: zephyr
# sievenotifier: zephyr
# dracinterval: 0
# drachost: localhost
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN LOGIN
#allowapop: no
# sasl_minimum_layer: 0
# sasl_maximum_layer: 256
# loginrealms: example.com
# virtdomains: userid
defaultdomain: archi.amt
sasl_pwcheck_method: saslauthd
sasl_auxprop_plugin: ldapdb
sasl_auto_transition: no
# File containing the private key belonging to the sieve-specific server
# certificate.  If not specified, the global private key is used.  A value of
# "disabled" will disable SSL/TLS for sieve.
#sieve_tls_key_file: /etc/ssl/private/cyrus-sieve.key
lmtpsocket: /var/run/cyrus/socket/lmtp
idlemethod: poll
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
syslog_prefix: cyrus
srvtab: /var/lib/cyrus/srvtab
sieve_maxscriptsize: 1024
servername: serveur.archi.amt
virtdomains: no
username_tolower: 1
ldap_uri: ldap://127.0.0.1:389
sasl_saslauthd_path: /var/run/saslauthd/mux
sasl_ldapdb_uri: ldap://localhost
sasl_ldapdb_id: cyrus
sasl_ldapdb_pw: secret
sasl_ldapdb_mech: DIGEST-MD5
#
# tls_session_timeout: 1440
# tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH

popminpoll: 1
tls_session_timeout: 1440
tls_cipher_list: TLSv1+HIGH:!aNULL:@STRENGTH


Thanks a lot


--
----~o00o-----//{ ´°`(_)´°` }\\-----o00o~------

Laurent Archambault
Under Linux
reply via email to

[Prev in Thread] Current Thread [Next in Thread]