ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Gorbachenko <agent_007@immo.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Почта
Date: Wed, 4 May 2005 09:42:38 +0400
Message-ID: <200505040942.44021.agent_007@immo.ru> (raw)
In-Reply-To: <38803101.20050503182209@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]

On Вторник 03 Май 2005 18:22, Anton Gorlov wrote:

> если в лдапе пароли храниться в виде SMD5 хеша... то смогу ли я
> сделать pop3s/imaps или для этого придётся пароли в "чистом" виде
> держать?

сможете, естественно. пароли в ldap никакого отношения к pop3(s)/imap(s) не 
имеют.

на пальцах.
в простейшем случае с pop3(s) вы устанавливаете [защищённое] соединение с 
cyrus, после чего говорите ему:

user blabla@my.org
pass xxxxxxx

далее cyrus в соответствии со своими настройками пытается забиндиться в dn 
пользователя blabla@my.org с паролем xxxxxxx. в ответ он получает либо 
LDAP_SUCCESS в случае успеха (аутентификация пройдена), либо 
LDAP_INVALID_CREDENTIALS (аутентификация не пройдена).

в каком виде при этом хранится пароль в ldap - непринципиально. потому что 
получение хэша из пароля и сравнение с тем хэшем, который хранится в 
пользовательском dn, производится внутри ldap.

по моему так (с).

-- 
KMail: 1.8.50

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

  reply	other threads:[~2005-05-04  5:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 14:22 Anton Gorlov
2005-05-04  5:42 ` Alex Gorbachenko [this message]
2005-05-04  7:35   ` Re[2]: " Anton Gorlov
2005-05-04  8:06     ` Alex Gorbachenko
2005-05-04 10:34     ` Alexey Borovskoy

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=200505040942.44021.agent_007@immo.ru \
    --to=agent_007@immo.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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