[sisyphus] ldap some trable

Scor2k =?iso-8859-1?q?scor2k_=CE=C1_mail=2Eru?=
Чт Мар 18 17:38:20 MSK 2004


При настройке ldap возникла следующая проблема (пытался логинится):

Mar 18 17:20:41 lcomp2 login: PAM unable to dlopen(/lib/security/pam_ldap.so)
Mar 18 17:20:41 lcomp2 login: PAM [dlerror: /lib/libkrb5.so.3: undefined symbol: add_error_table]
Mar 18 17:20:41 lcomp2 login: PAM adding faulty module: /lib/security/pam_ldap.so

pam_ldap.so & libkrb5.so.3 сущестуют.

rpm -qa|egrep 'ldap|pam'

pam_userpass-0.9-alt1
pam_passwdqc-0.7.3-alt1
libldap-2.1.26-alt3.1
nss_ldap-215-alt1
pam-0.75-alt25
pam0-config-1.1.7-alt1
openldap-2.1.26-alt3.1
pam_ldap-167-alt1
pam0_console-0.75-alt25
libpam0-0.75-alt25
openldap-clients-2.1.26-alt3.1
pam-config-1.1.7-alt1
pam0_tcb-0.9.8.7-alt2

- /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

- /etc/nsswitch.conf -
passwd:     files nisplus nis
shadow:     tcb files nisplus nis
group:      files nisplus nis
hosts:      files nisplus nis dns
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
bootparams: nisplus [NOTFOUND=return] files
netgroup:   nisplus
publickey:  nisplus

- /etc/openldap/ldap.conf - 
BASE dc=mf, dc=volsu, dc=ru
URI     ldap://10.10.4.7

- /etc/pam.d/system-auth -
auth    sufficient      pam_ldap.so
auth   required    pam_tcb.so shadow fork prefix=$2a$ count=8 nullok use_first_pass

account    required    pam_access.so
account sufficient      pam_ldap.so
account    required    pam_tcb.so shadow fork

password   required    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      pam_ldap.so use_authtok
password   required    pam_tcb.so use_authtok shadow fork prefix=$2a$ count=8 write_to=tcb

session    required    pam_tcb.so
session    required    pam_limits.so

- /etc/pam.d/system-auth-use_first_pass
auth    sufficient      pam_ldap.so use_first_pass
auth   required    pam_tcb.so shadow fork prefix=$2a$ count=8 nullok use_first_pass
password        sufficient      pam_ldap.so use_first_pass
password   required    pam_tcb.so use_authtok shadow fork prefix=$2a$ count=8 write_to=tcb


Заранее спасибо.

-- 
  С уважением: scor2k на mail.ru
  Volgograd Linux Users Groups
UIN: 346283813 JID: scor2k на jabber.ru



Подробная информация о списке рассылки Sisyphus