LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-05-2008, 05:52 PM   #1
cantabile
LQ Newbie
 
Registered: Jan 2004
Posts: 28

Rep: Reputation: 15
Authentication on ldap server for ssh users?


Hi,
here's the problem:

There is a ldap server, which works. I'm not managing it, but I have users accounts on it.
What I'd like to do is using ldap to ask for a password for my users, so that they can sftp in *my* server.

To sum it up, I'd like my users (who are also using ldap on this other server) to sftp to my server, then they would be asked for their password, wich would be validated by the ldap server and, if it is correct, they would be allowed to enter my server.

Is this possible?

I have tried modifying /etc/nsswitch (passwd and group set to "files ldap"), /etc/ldap.conf (with the correct URI), and ssh_config (UsePam yes) but it seems ssh just doesn't try and connect the ldap server. I mean, it gives messages saying that the user has no password in my box (of course, I want it to authenticate against the ldap server not my box).


Well, hope it makes sense :-)
Thx for your help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
host based authentication using ssh with different users on the server powah Linux - Security 5 06-21-2007 02:54 AM
squid server with ldap authentication guy_ripper Linux - Security 2 03-09-2007 11:40 AM
Setting up LDAP authentication server on Slackware Yalla-One Slackware 2 03-28-2006 05:29 PM
IBM Http server with ldap authentication Rinish Linux - Networking 1 06-16-2005 09:11 AM
Mail Server Authentication via LDAP RKris Linux - Networking 2 02-08-2004 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration