ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: Sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] LDAP + пароли для пользователей в blowfish
Date: Thu, 9 Dec 2010 12:36:15 +0300
Message-ID: <20101209123615.0eb05a2c@center4.mivlgu.local> (raw)
In-Reply-To: <AANLkTinQJ2rvUcjzv4r5Fk-W8V26F9CgZOQ5-Jg2UL3B@mail.gmail.com>

On Thu, 9 Dec 2010 11:24:43 +0300 Andrew V. Stepanov wrote:

> Я хочу чтобы системные пользователи хранились в LDAP.
> Я это сделал.
> Только сейчас у меня в /etc/pam_ldap.conf пароли на проверку в LDAP
> сервер отправляются в открытом виде:
> pam_password clear

Нужно внимательнее читать документацию pam_ldap - параметр
pam_password влияет на способ _изменения_ пароля, а не на проверку его
при аутентификации пользователя.  Чтобы при аутентификации пароль не
передавался в открытом виде, необходимо использовать либо SASL (но
методы CRAM-MD5 и DIGEST-MD5 требуют хранения пароля в открытом виде
на сервере - т.е., в базе LDAP), либо TLS.

> В каком виде занести пароль в поле userPassword чтобы pam_ldap можно
> было включить опцию `pam_password crypt' ????

"pam_password crypt" вообще использовать не стоит - это именно древний
DES-based crypt().  На клиентской стороне pam_ldap поддерживает только
алгоритмы хеширования паролей DES и MD5; всё остальное нужно
настраивать на стороне сервера, передавая ему пароль в открытом виде
(естественно, в этом случае для защиты требуется TLS).


  parent reply	other threads:[~2010-12-09  9:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09  8:24 Andrew V. Stepanov
2010-12-09  8:32 ` Vitaly Kuznetsov
2010-12-09  8:43   ` Andrew V. Stepanov
2010-12-09  9:36 ` Sergey Vlasov [this message]
2010-12-09  9:55   ` Andrew V. Stepanov
2010-12-09 18:20     ` 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=20101209123615.0eb05a2c@center4.mivlgu.local \
    --to=vsu@altlinux.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