[plug] Pam-Ldap Authentication Problem.

Kamani Bhavesh bhavesh at deeproot.co.in
Sat Dec 18 18:52:09 WST 2004


Hello All!
	I am a new user to PAM-LDAP and I have added the users in the ldap, and
getent passwd shows the user and when I try to login at that time this
error shows :

deep at abhyas:~$ su gautam
Password:
su: Authentication service cannot retrieve authentication info.
Sorry.


My Ldif for the user gautam is :

dn: uid=gautam,ou=People,dc=lan,dc=deeproot,dc=co,dc=in
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: qmailUser
objectClass: sambaSAMAccount
cn: Gautam
uid: gautam
uidNumber: 1007
gidNumber: 1006
userPassword:: e1NTSEF9T2FKOFJUSkFsSTB2OXVUa1lMT3VpVERmNENBYzY5cGk=
homeDirectory: /home/gautam
loginShell: /bin/bash
shadowLastChange: -1
shadowMin: -1
shadowMax: -1
shadowWarning: -1
shadowInactive: -1
shadowExpire: -1
shadowFlag: -1
mail: gautam at lan.deeproot.co.in
mailMessageStore: /home/gautam/Maildir/
mailAlternateAddress: bhavesh at lan.deeproot.co.in
qmailUID: 1007
qmailGID: 1006
mailHost: localhost
accountStatus: active
mailQuotaSize: 0
mailQuotaCount: 0
mailSizeMax: 0
sambaLMPassword: {SSHA}OaJ8RTJAlI0v9uTkYLOuiTDf4CAc69pi
sambaNTPassword: {SSHA}OaJ8RTJAlI0v9uTkYLOuiTDf4CAc69pi
sambaAcctFlags: [U          ]
sambaPwdLastSet: 1103364847
sambaPwdCanChange: 1134900847
sambaPwdMustChange: 1134900847
sambaSID: {SSHA}OaJ8RTJAlI0v9uTkYLOuiTDf4CAc69pi-3014
sambaPrimaryGroupSID: {SSHA}OaJ8RTJAlI0v9uTkYLOuiTDf4CAc69pi-3013
displayName: Gautam
gecos: Gautam
description: Gautam
sn: Gautam


My /etc/pam.d/login file :

#%PAM-1.0
auth     required   /lib/security/pam_securetty.so
auth     required   /lib/security/pam_nologin.so
auth     sufficient /lib/security/pam_ldap.so
auth     required   /lib/security/pam_unix_auth.so use_first_pass
account  sufficient /lib/security/pam_ldap.so
account  required   /lib/security/pam_unix_acct.so
password required   /lib/security/pam_cracklib.so
password sufficient /lib/security/pam_ldap.so
password required   /lib/security/pam_unix_passwd.so use_first_pass md5
shadow
session  required   /lib/security/pam_unix_session.so

My slapd.conf contain no acl.



Please If you have solution Or anyreferance material's link then send
me.

Bhavesh. 






More information about the plug mailing list