View previous topic :: View next topic |
Author |
Message |
Sandlord n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/508e98993dd9675b335b0.gif)
Joined: 07 Jun 2002 Posts: 69
|
Posted: Thu Apr 28, 2005 1:59 pm Post subject: LDAP pam_ssl su and passwd works, ssh not [SOLVED] |
|
|
Hi,
I tried to install an LDAP Server for authenticate Users in my System. Now I have a small problem.
When I try to login via ssh, the SSH-Daemon gives the following message in /var/log/auth:
Code: | Illegal user testuser from XXX.XXX.54.51 |
"getent" works:
Quote: |
sawserv2# getent passwd | grep testuser
testuser:x:1402:1402:Test User,228,,:/home/testuser:/bin/bash
|
I can change the password with passwd,
and can switch from a normal user account to "testuser" with su.
I have only the user testuser is in the LDAP database.
What can that be ? How can I debug ldap or PAM, so that I can pin down the problem ?
Also I found following problem in /var/log/auth:
pam_ldap: error trying to bind as user "uid=testuser,ou=People,dc=saw,dc=rwth-aachen,dc=de" (Invalid credentials)
I don't understand, because I have following lline in /etc/ldap/slapd.conf
Code: | access to * by * read |
also the correct credentials is the same like the password. It seems that sshd gives the password not correct to the PAM system, because passwd works ...
Thanx,
Sandlord _________________ ----------------------------
Athlon-XP 2400+
512MB RAM
-march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow
Last edited by Sandlord on Thu May 05, 2005 11:53 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sandlord n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/508e98993dd9675b335b0.gif)
Joined: 07 Jun 2002 Posts: 69
|
Posted: Thu May 05, 2005 11:53 pm Post subject: Re: LDAP pam_ssl su and passwd works, ssh not |
|
|
Problem Solved:
I had to restart the ssh Daemon. _________________ ----------------------------
Athlon-XP 2400+
512MB RAM
-march=athlon-xp -O2 -pipe -fomit-frame-pointer -msse -mmmx -m3dnow |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|