From: Taras Ablamsky <t@v-lug.vlink.ru>
To: community@altlinux.ru
Subject: Re: [Comm] OpenLDAP
Date: Tue, 04 Nov 2003 01:03:36 +0300
Message-ID: <3FA6D0B8.4050505@v-lug.vlink.ru> (raw)
In-Reply-To: <200311031248.45973.dima@academy.cap.ru>
Dmitry Nechaev пишет:
>Люди. Подскажите, пожалуйста, как настроить клиента на авторизацию через
>OpanLDAP. Есть ALT Linux Master 2.2, нужно, чтоб пользователи логинились
>через OpenLDAP-сервер. Сервер-то я настроил, а вот с клиентом чего-то
>недопонимаю... Поделитесь примерами конфигурационных файлов, если можно.
>
t@lcomp2 ~ $ grep "^[^#]" /etc/ldap.conf
host 10.10.4.7
base dc=mf, dc=volsu, dc=ru
uri ldap://10.10.4.7/
pam_login_attribute uid
pam_template_login_attribute uid
pam_template_login nobody
pam_password md5
nss_base_passwd ou=People,dc=mf,dc=volsu,dc=ru?one
nss_base_shadow ou=People,dc=mf,dc=volsu,dc=ru?one
nss_base_group ou=Group,dc=mf,dc=volsu,dc=ru?one
nss_base_hosts ou=Hosts,dc=mf,dc=volsu,dc=ru?one
t@lcomp2 ~ $ grep "^[^#]" /etc/nsswitch.conf
passwd: files ldap nisplus nis
shadow: tcb files ldap nisplus nis
group: files ldap nisplus nis
hosts: files ldap nisplus nis dns
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
bootparams: nisplus [NOTFOUND=return] files
netgroup: nisplus
publickey: nisplus
t@lcomp2 ~ $ cat /etc/pam.d/system-auth
#%PAM-1.0
auth sufficient /lib/security/pam_ldap.so
auth required /lib/security/pam_tcb.so shadow fork prefix=$2a$
count=8 nullok use_first_pass
account sufficient /lib/security/pam_ldap.so
account required /lib/security/pam_tcb.so shadow fork
password required /lib/security/pam_passwdqc.so
min=disabled,24,12,8,7 max=40 passphrase=3 match=4 similar=deny
random=42 enforce=users retry=3
password sufficient /lib/security/pam_ldap.so use_authtok
password required /lib/security/pam_tcb.so use_authtok
shadow fork prefix=$2a$ count=8 write_to=tcb
session required /lib/security/pam_tcb.so
session required /lib/security/pam_limits.so
t@lcomp2 ~ $ cat /etc/pam.d/system-auth-use_first_pass
#%PAM-1.0
auth sufficient /lib/security/pam_ldap.so use_first_pass
auth required /lib/security/pam_tcb.so shadow fork prefix=$2a$
count=8 nullok use_first_pass
password sufficient /lib/security/pam_ldap.so use_first_pass
password required /lib/security/pam_tcb.so use_authtok
shadow fork prefix=$2a$ count=8 write_to=tcb
t@lcomp2 ~ $
Это все на ALM2.2.
--
Taras Ablamsky
Volgograd Linux User Group
http://volgograd.lug.ru/
next prev parent reply other threads:[~2003-11-03 22:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-03 9:48 Dmitry Nechaev
2003-11-03 22:03 ` Taras Ablamsky [this message]
2003-11-04 5:23 ` Alexey I. Froloff
2003-11-04 20:08 ` Taras Ablamsky
2003-11-05 7:36 ` Dmitry Nechaev
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=3FA6D0B8.4050505@v-lug.vlink.ru \
--to=t@v-lug.vlink.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