ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: metrol@amur.ru
To: community@altlinux.ru
Subject: Re: [Comm] проблемы с криптованием
Date: Wed, 29 Jan 2003 09:37:38 +0900
Message-ID: <3E372252.4020005@amur.ru> (raw)
In-Reply-To: <20030128174032.3ebc23b6.dima@sakhalin.ru>

Dmitry Lebkov пишет:

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

С кем не бывает?
Меня ввела в заблуждение дока к Мастеру - Руководство администратора
(цитата)
Пороль можно записать и в виде хеша DES или MD5 - тогда строка будет
иметь вид
rootpw $1$sLJFPHzI$x2WBQHqzvMaziAoq2bq/
(конец цитаты)

Так вот я думал почему ни в GQ, ни slappasswd -h {MD5} не выдают таких
строк?

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




  reply	other threads:[~2003-01-29  0:37 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
2003-01-29  0:37   ` metrol [this message]
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=3E372252.4020005@amur.ru \
    --to=metrol@amur.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