ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: max <alt@zlt.ru>
To: community@altlinux.ru
Subject: [Comm] Централизованная авторизация в ldap
Date: Mon, 14 Mar 2005 12:37:02 +0500
Message-ID: <200503141237.02167.alt@zlt.ru> (raw)

АЛМ2.4.
работает связка openldap+postfix+courier-imap

А вот централизованная авторизация в ldap работать не хочет :(

# cat ldap.conf |grep ^# -v

base dc=zlt,dc=ru
uri ldap://127.0.0.1/
ldap_version 3


/etc/nsswitch.conf:

passwd: files ldap
shadow: tcb ldap
group: files ldap
...

$ id test
uid=1023(test) gid=1023(testgroup) группы=1023(testgroup)

$ su - test
Password: (ввод пароля)
su: Authentication service cannot retrieve authentication info.

В логах:
Mar 14 11:53:25 max pam_tcb[19136]: Credentials for user test unknown
Mar 14 11:53:25 max pam_tcb[19133]: su: Authentication failed for UNKNOWN USER 
from (uid=500)

Ещё

# id test
uid=1023(test) gid=1023(testgroup) groups=1023(testgroup)
# su - test
Account management:- Insufficient credentials to access authentication data
(Ignored)
/home/test not available; exiting

В логах:
Mar 14 11:52:47 max pam_tcb[19103]: su: Session opened for test by (uid=0)
Mar 14 11:52:47 max su[19103]: nss_ldap: reconnecting to LDAP server...
Mar 14 11:52:47 max su[19103]: nss_ldap: reconnected to LDAP server after 1 
attempt(s)
Mar 14 11:52:47 max pam_tcb[19103]: su: Session closed for test

Куда копать?
-- 
MaX


             reply	other threads:[~2005-03-14  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-14  7:37 max [this message]
2005-03-14  8:36 ` Denis S. Filimonov
2005-03-14  9:01   ` [Comm] " max
2005-03-14 11:40     ` Michael Shigorin

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=200503141237.02167.alt@zlt.ru \
    --to=alt@zlt.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