LINUX.ORG.RU
ФорумAdmin

slackware + pam +nss + ldap


0

0

собрал и поставил subj поблемы с nss - при попытке поставить выборку групп из ldap пользователи не могут получить доступ в систему, в логах - чисто при попытке логина и вода правильного пароля - просто выводит login:

Кто нибудь сталкивался с такой проблемой?

А если запустить ldap с расширенным логом, то там нельзя обнаружить причину?

anonymous
()
Ответ на: комментарий от anonymous

юмор в том, что даже при ошибке подключения к ldap система должна пускать пользователей из shadow, passwd, group, а она не пускает up

In2Dark
() автор топика
Ответ на: комментарий от zgen

#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#      nisplus or nis+         Use NIS+ (NIS version 3)
#      nis or yp               Use NIS (NIS version 2), also called YP
#      dns                     Use DNS (Domain Name Service)
#      files                   Use the local files
#      [NOTFOUND=return]       Stop searching if not found so far
#

# passwd:       files nis
# shadow:       files nis
# group:        files nis

#passwd:        compat
#group:         compat

#hosts:         files dns
#networks:       files

#services:       files
#protocols:      files
#rpc:           files
#ethers:        files
#netmasks:       files
#netgroup:       files
#bootparams:     files

#automount:      files
#aliases:        files

passwd:     files ldap
shadow:     files
group:      files ldap

hosts:      files dns
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
bootparams: files
netgroup:   files
publickey:  files
automount:  files
aliases:    files

In2Dark
() автор топика
Ответ на: комментарий от In2Dark

поправь

shadow: files ldap

Если не выйдет, убири ldap в passwd shadow и group и попробуй только локальную авторизацию. Результаты сюда.

zgen ★★★★★
()
Ответ на: комментарий от Deleted

>snadow ldap

всё так же

>Пакет shadow пересобирал с поддержкой PAM? да

In2Dark
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.