Re: cannot login after ldap setup
From: AK (aktrader2@excite.com)
Date: 03/28/03
- Next message: bernhard: "Re: FTP over SSL (explicit enc) - command line"
- Previous message: Edmund: "Re: How to verify a fingerprint?"
- In reply to: joe dekk: "cannot login after ldap setup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: AK <aktrader2@excite.com> Date: Fri, 28 Mar 2003 05:31:18 GMT
joe dekk wrote:
> I have a remote server running sshd -- behind
> firewall and private network. It was working
> before I changed three files so that I can
> authenticate _guest_ ftp users against an ldap
> database. (These ftp users won't have ssh
> access since their log in shells will be
> /sbin/nologin) In any case I can no loger log
> in to this server anymore with _real_ users
> who have entries in /etc/passwd files and proper
> shells. For example I could log in with public
> key before and now the same account is now
> blocked.
>
> Here is the tail end of "ssh -v". Can someone
> tell me what this problem might be?
> ------
> debug1: ssh-userauth2 successful: method publickey
> debug1: channel 0: new [client-session]
> debug1: send channel open 0
> debug1: Entering interactive session.
> debug1: channel_free: channel 0: client-session, nchannels 1
> Connection to up closed by remote host.
> Connection to up closed.
> debug1: Transferred: stdin 0, stdout 0, stderr 67 bytes in 0.0 seconds
> debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 76658.5
> debug1: Exit status -1
> ---------
> System is running redhat 8.0 and sshd_config has not been
> changed.
>
> I changed these three files
>
> /etc/sysconfig/authconfig
> /etc/pam.d/system-auth
> /etc/nsswitch.conf
> -----------
>
> What I don't understand is that even if ldap authentication is
> not working why can't users with entries in /etc/passwd, say,
> log in to this system?
>
> Thanks
>
Does nsswitch.conf have files before LDAP options for usernames and
passwords? Did you recompile OpenSSH to use LDAP for authentication?
AK
- Next message: bernhard: "Re: FTP over SSL (explicit enc) - command line"
- Previous message: Edmund: "Re: How to verify a fingerprint?"
- In reply to: joe dekk: "cannot login after ldap setup"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|