LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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



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 01:54 AM
squid server with ldap authentication guy_ripper Linux - Security 2 03-09-2007 10:40 AM
Setting up LDAP authentication server on Slackware Yalla-One Slackware 2 03-28-2006 04:29 PM
IBM Http server with ldap authentication Rinish Linux - Networking 1 06-16-2005 08:11 AM
Mail Server Authentication via LDAP RKris Linux - Networking 2 02-08-2004 05:48 AM

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

All times are GMT -5. The time now is 02:38 PM.

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
Open Source Consulting | Domain Registration