ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Denis S. Filimonov" <den@academ.org>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Master 2.2 и LDAP
Date: Wed, 12 Mar 2003 09:56:44 +0600
Message-ID: <200303120956.44258.den@academ.org> (raw)
In-Reply-To: <3E6E929D.8090403@help0.ru>

12 Март 2003 07:51, Arcady V. Ivanov написал:
> Denis S. Filimonov пишет:
> >>KDM, ssh прекрасно засасывают пароли из LDAP-сервера и пускают
> >>юзера на комп, а
> >>если регистрироваться login-ом на обычном /dev/ttyv1 - не пускает.
> >>
> >>Кто объяснит явление?
> >
> >Сравните содержимое файлов login, ssh, system-auth,
> >и system-auth-use_first_pass в каталоге/etc/pam.d/
> >скорее всего это обнаружит проблему. Если нет -- кидайте их сюда.
>
> Не разобрался. Вот файлы из pam.d:
>
Интересно, пароли-то берутся из tcb, pam_ldap там даже близко нет, а 
имена юзеров/групп из LDAP (nss_ldap). Может между ними есть 
несоответствия?
Еще в /etc/security/* могут быть какие-нибудь ограничения...

> "login"
> -----------------------------------------------------
> #%PAM-1.0
> auth    required        /lib/security/pam_securetty.so
> auth    required        /lib/security/pam_stack.so
> service=system-auth auth    required       
> /lib/security/pam_nologin.so
> auth    optional        /lib/security/pam_mail.so
> account required        /lib/security/pam_stack.so
> service=system-auth password        required       
> /lib/security/pam_stack.so
> service=system-auth
> session required        /lib/security/pam_stack.so
> service=system-auth session optional       
> /lib/security/pam_lastlog.so nowtmp
> session optional        /lib/security/pam_motd.so
> session optional        /lib/security/pam_console.so
> -----------------------------------------------------
>
> "sshd"
> -----------------------------------------------------
> #%PAM-1.0
> auth    required        /lib/security/pam_userpass.so
> auth    required        /lib/security/pam_stack.so
> service=system-auth-use_first_pass
> auth    required        /lib/security/pam_nologin.so
> account required        /lib/security/pam_stack.so
> service=system-auth password        required       
> /lib/security/pam_stack.so
> service=system-auth
> session required        /lib/security/pam_stack.so
> service=system-auth
> -----------------------------------------------------
>
> "system-auth"
> -----------------------------------------------------
> #%PAM-1.0
> auth    required        /lib/security/pam_tcb.so shadow fork nullok
> 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        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
> -----------------------------------------------------
>
> "system-auth-use_first_pass"
> -----------------------------------------------------
> #%PAM-1.0
> auth    required        /lib/security/pam_tcb.so shadow fork nullok
> use_first_pass password        required       
> /lib/security/pam_tcb.so use_authtok shadow fork prefix=$2a$ count=8
> write_to=tcb
> -----------------------------------------------------



  parent reply	other threads:[~2003-03-12  3:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-10  8:42 Arcady V. Ivanov
2003-03-10  8:48 ` Peter V. Saveliev
2003-03-10  9:10   ` Arcady V. Ivanov
2003-03-10 10:02     ` Peter V. Saveliev
2003-03-10 19:21       ` Re[2]: [sisyphus] Master 2.2 É LDAP Volkov Serge
2003-03-11  7:45     ` [sisyphus] Master 2.2 и LDAP Arcady V. Ivanov
2003-03-11 12:56       ` Denis S. Filimonov
2003-03-12  3:56           ` Denis S. Filimonov [this message]
2003-03-12  4:47               ` Denis S. Filimonov
2003-03-12  5:13                   ` Denis S. Filimonov
2003-03-12  8:55                       ` Denis S. Filimonov
2003-03-13  5:56                           ` Denis S. Filimonov
2003-03-13  6:26                             ` vserge
2003-03-13  6:41                               ` Alexey I. Froloff
2003-03-13  7:04                                 ` vserge
2003-03-13  7:20                                   ` Alexey I. Froloff
2003-03-13  7:54                                     ` vserge

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=200303120956.44258.den@academ.org \
    --to=den@academ.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git