ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Kvashin <foo@junior.esoo.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] cyrus-sasl2 pam mysql не аутентифицирует
Date: Thu, 07 Feb 2008 10:01:09 +0500
Message-ID: <47AA9095.8000906@junior.esoo.ru> (raw)
In-Reply-To: <ce85d6f40802061444u5528822dyb6d6010748ad4f2e@mail.gmail.com>

JaMm пишет:
> У меня через auxprop вообще не хочет работать. Настроики все выставляю 
> как в документации.
> 
> /etc/imapd.conf:
> --------------------
> sasl_pwcheck_method: auxprop
> sasl_auxprop_plugin: ssl
> sasl_mech_list: PLAIN
> --------------------

imapd.conf, попробуйте так:

sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_mech_list: LOGIN PLAIN CRAM-MD5 DIGEST-MD5
sasl_sql_user: mail
sasl_sql_passwd: mail
sasl_sql_database: mail
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT password FROM accountuser WHERE username = '%u'

> при попытке cyradm -u test@test localhost
> test@test в imapd.conf прописан, конечно, как админ.

А если выставить в imapd.conf, admins: test
и сделать: cyradm --user test --auth login localhost ?

В базе test без доменной части, соответственно.

-- 
Anton Kvashin


  parent reply	other threads:[~2008-02-07  5:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-03 23:44 JaMm
2008-02-04 23:00 ` JaMm
2008-02-05  5:48   ` Anton Kvashin
2008-02-05 22:38     ` JaMm
2008-02-06  6:59       ` Anton Kvashin
2008-02-07  5:01           ` Anton Kvashin [this message]
2008-02-05  7:15 ` Vladimir V. Kamarzin
2008-02-05 22:48   ` JaMm
2008-02-06  6:00     ` Vladimir V. Kamarzin
2008-02-07  6:41           ` Vladimir V. Kamarzin
2008-02-08 10:16               ` Vladimir V. Kamarzin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47AA9095.8000906@junior.esoo.ru \
    --to=foo@junior.esoo.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git