ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Пароль в /etc/nss_ldap.secret
Date: Mon, 12 Feb 2007 21:17:43 +1000
Message-ID: <45D04CD7.2080902@sakhalin.ru> (raw)
In-Reply-To: <20070207121323.178da0b1@shadow.orionagro.com.ua>

Dmitriy L. Kruglikov wrote:
> Доброго времени суток.
> 
> В /etc/nss_ldap.secret и /etc/pam_ldap.secret
> хранится пароль для rootbinddn в открытом виде.
> Пробовал написать туда 
> {SSHA}ХХХ
> не работает, хотя вместо ХХХ то же самое, 
> что и в /etc/openldap/slapd.conf в качестве пароля для админа.
> 
> Не хотелось бы хранить пароль в открытом виде на рабочих станциях.
> 
> У кого-нибудь есть решения ?

Настрой LDAP на anonymous bind. И (pam|nss)_ldap - на него же.
Использовать пароли в том же виде, что и в /etc/openldap/slapd.conf,
не получится. Причина: {SSHA}ХХХ - это хэш plaintext-пароля.

-- 
WBR, Dmitry Lebkov


  parent reply	other threads:[~2007-02-12 11:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 10:13 Dmitriy L. Kruglikov
2007-02-12  7:30 ` Avramenko Andrew
2007-02-12  8:32   ` Dmitriy L. Kruglikov
2007-02-12  8:34     ` Anton Gorlov
2007-02-12  8:44       ` Dmitriy L. Kruglikov
2007-02-12  8:58         ` Anton Gorlov
2007-02-12  9:04           ` Slava Dubrovskiy
2007-02-12  9:11             ` Dmitriy L. Kruglikov
2007-02-12  9:04           ` Dmitriy L. Kruglikov
2007-02-12  9:08             ` Anton Gorlov
2007-02-12  9:24     ` Avramenko Andrew
2007-02-12 11:17 ` Dmitry Lebkov [this message]
2007-02-12 11:27   ` Dmitriy L. Kruglikov
2007-02-12 11:32     ` Dmitry Lebkov
2007-02-12 11:39       ` Dmitriy L. Kruglikov
2007-02-12 11:51         ` Dmitry Lebkov
2007-02-12 12:48       ` Anton Gorlov
2007-02-12 13:18         ` Dmitriy L. Kruglikov
2007-02-12 13:29           ` Anton Gorlov
2007-02-12 13:59             ` Dmitriy L. Kruglikov

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=45D04CD7.2080902@sakhalin.ru \
    --to=dima@sakhalin.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