ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] проблемы с криптованием
Date: Tue, 28 Jan 2003 17:40:32 +1000
Message-ID: <20030128174032.3ebc23b6.dima@sakhalin.ru> (raw)
In-Reply-To: <3E35EBDF.2060901@amur.ru>

On Tue, 28 Jan 2003 11:33:03 +0900
metrol@amur.ru wrote:

> 
> Исходные данные:
> ALM 2.0(Установка - Сервер) + updates + Sisyphus ( некоторые сетевые 
> сервисы:
> apache, postfix, ldap etc. пересобранные из src.rpm).
> 
> Проблема 1:
> Пытаюсь создать БД с паролями /etc/sasldb
> 
> [root@linuxbox etc]# saslpasswd -c -u test.ru test
> Password:
> Again (for verification):
> [root@linuxbox etc]# sasldblistusers
> user: test realm: test.ru mech: PLAIN
> 
> , т.е. на выходе - одна строка, хотя на соседней машине
> после тех же манипуляций имею строки с DIGEST-MD5 и CRAM-MD5.

Про это - не в курсе, не пользую ...

> Поблема 2:
> в LDAP пытаюсь через GQ внести userPassword(MD5) , после сохранения
> получаю пороль в виде : {MD5}CY9rzUYh03PK3k6DJie09g==
> хотя я насколько понял MD5 должен быть длиннее и начинаться с : {MD5}$1....

Вы спутали формат md5-паролей в системе и механизм хеширования паролей при
сохранении в LDAP-каталоге. Они друг с другом никак не связаны.

> 
> Я так думаю, что причина должна быть одна.
> Только в чем и где? Помогите разобраться.

См. RFC и/или документацию к OpenLDAP, ту часть в которой рассказывается
о том, как сохраняется non-ascii строка в каталоге LDAP. Hint: то что вы
увидели после {MD5} - base64-encoded data.


-- 
WBR, Dmitry Lebkov


  reply	other threads:[~2003-01-28  7:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-28  2:33 metrol
2003-01-28  7:40 ` Dmitry Lebkov [this message]
2003-01-29  0:37   ` metrol
2003-01-28  7:48 ` vic ismakaev
2003-01-28  8:50 ` send2my
2003-01-28 23:51   ` metrol
2003-01-29 12:47     ` Sergey Vlasov

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=20030128174032.3ebc23b6.dima@sakhalin.ru \
    --to=dima@sakhalin.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