ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pavel Stoliarov <mylinux02@mail.ru>
To: community@altlinux.ru
Subject: [Comm] LDAP и аутентификация
Date: Fri, 27 Sep 2002 07:12:08 +0500
Message-ID: <200209270712.08969.mylinux02@mail.ru> (raw)

Всем привет 
 решил настроить аутентификацию пользователей через LDAP ,
утановил  openldap-2.0.25-alt3 , nss_ldap, pam_ldap, система ALT Linux MASTER 
2.0.
 перенес всех пользователей из /etc/passwd и /etc/group в 
ou=People,dc=myhost,dc=mydomain и ou=Group,dc=myhost,dc=mydomain 
соответсвенно .  
 настроил /etc/nsswtitch.conf , т.е. прописал
  
  passwd:     files ldap
  shadow:     tcb ldap files
  group:      files ldap

настроил /etc/openldap/ldap.conf :
host 127.0.0.1
base    dc=myhost,dc=mydomain
uri     ldap://localhost
ldap_version 3
rootbinddn  cn=proxyuser,dc=myhost,dc=mydomain
scope one
pam_filter objectclass=posixaccount
pam_login_attribute uid
pam_member_attribute gid
pam_template_login_attribute uid
pam_password md5
nss_base_passwd                ou=People,dc=myhost,dc=mydomain?one
nss_base_shadow                ou=People,dc=myhost,dc=mydomain?one
nss_base_group         ou=Group,dc=myhost,dc=mydomain?one

все работет прекрасно , с помощью ldapsearch могу делать любые запросы .

Только вот система не видит пользователей которые прописаны в ldap
т.е. делаю например
 getent passwd - выводяться только пользователи в /etc/passwd 
 или например хочу посмотреть конкретного юзера который прописан в LDAP базе:    
  id user1
  id: user1: No such user

 в логах LDAP не видно  что производились какие то запросы ,.


 Вообщем мучаюсь уже почти неделю. Если у кого нибудь работает аутентификация 
по LDAP , помогите разобраться плз.
-- 
Best regards 
Pavel



             reply	other threads:[~2002-09-27  2:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-27  2:12 Pavel Stoliarov [this message]
2002-09-27  3:57 ` Andrey Vakatov
2002-09-27  5:06 ` Denis S. Filimonov

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=200209270712.08969.mylinux02@mail.ru \
    --to=mylinux02@mail.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