Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1710 - xdm and pam problem (kdm as well)
Summary: xdm and pam problem (kdm as well)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
Depends on:
Reported: 2002-04-12 19:51 UTC by Ben Murphy
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Ben Murphy 2002-04-12 19:51:49 UTC
The problem seems to be that ldap users are not allowed to login when using 
Using the console they seem to be able to log in correctly, so I don't think 
the problem is how I have pam and ldap set up. Also the icons for the ldap 
users show up properly in kdm.

The error output produced from xdm is

Verifying ben
getspnam() failed, errno=0. Are you root?
passsword verify failed

the versions of the packages are

and my pam files

auth       required     /lib/security/ service=system-auth
auth       required     /lib/security/
account    required     /lib/security/ service=system-auth
password   required     /lib/security/ service=system-auth
session    required     /lib/security/ service=system-auth
session    optional     /lib/security/

auth       required     /lib/security/
auth       sufficient   /lib/security/ likeauth nullok
auth       sufficient   /lib/security/ use_first_pass
auth       required     /lib/security/
account    required     /lib/security/
account    required     /lib/security/
password   required     /lib/security/ retry=3
password   sufficient   /lib/security/ nullok md5 shadow use_authtok
password   sufficient   /lib/security/ use_authok
password   required     /lib/security/
session    required     /lib/security/
session    required     /lib/security/
session    optional     /lib/security/

--snip of /etc/nsswitch.conf --
passwd: files ldap
shadow: files ldap
group: files ldap
and my make.conf has USE="ldap"
and my make.defaults contains pam
Comment 1 Ben Murphy 2002-04-12 20:05:50 UTC
stupid me.. 
didnt look at kde section in pam
sorry :(