[Date Prev][Date Next] [Chronological] [Thread] [Top]

First steps with PAM + LDAP



	Hi all,
	I'm trying to get LDAP and PAM autenticate login and ssh shells on a Debian GNU/Linux woody server.
	I apt-get install libpam-cracklib libnss-ldap libpam-ldap
	I followed 4 tutorials on net (including LDAP Implementation HOWTO).
	I'm forwarding my /etc/pam.d/ssh, login and passwd and my /etc/pam_ldap.conf and nsswitch.conf and libnss-ldap.conf.

	Some tests

	#~ getent passwd | grep jorge

jorge:x:10000:10000:Jorge, y 245:/usr/local:/bin/bash

	$~ su - jorge
Password:
su: Authentication service cannot retrieve authentication info.
Sorry.
	$~

	#~ tail -f /var/log/auth.log

Jul 11 17:33:06 python PAM_unix[6009]: check pass; user unknown
Jul 11 17:33:06 python PAM_unix[6009]: authentication failure; (uid=10000) -> jorge for su service
Jul 11 17:33:08 python su[6009]: pam_authenticate: Authentication service cannot retrieve authentication info.
Jul 11 17:33:08 python su[6009]: - pts/4 jorge-jorge

	Much Thanks,		Paulo Henrique.

-- 
Paulo Henrique B de Oliveira
Gerente de Operações - Linux Solutions - http://www.linuxsolutions.com.br
O maior conteúdo de Linux em língua portuguesa - OLinux - http://www.olinux.com.br
(21) 2526-7262 ramal 31

Attachment: libnss-ldap.conf
Description: Binary data

Attachment: login
Description: Binary data

Attachment: nsswitch.conf
Description: Binary data

Attachment: pam_ldap.conf
Description: Binary data

Attachment: passwd
Description: Binary data

Attachment: ssh
Description: Binary data