LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-11-2009, 05:46 AM   #1
petr.hoffmann
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
LDAP authentication without PAM


Hi all,

I have several computers running Slackware 12.2. A need for LDAP authentication arised recently. What I found is there are two choices:

1. use PAM together with some other stuff - however, PAM is not a part of the official Slackware distribution. After reading some forums I decided not to install it myself.

2. use nss_ldap - this is the way I tried. However it looks like it needs an access to userPassword entry stored on the LDAP server and (not surprisingly) the admin of that server doesn't want to make them readable. I know there is another way to authenticate using LDAP through BINDing to the LDAP server, but unfortunatelly I was unable to find how to tell nss_ldap to use this way (nor do I know it is possible).

Could you please help me?

Thank you in advance!

Petr
 
Old 02-12-2009, 04:25 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105Reputation: 8105
You are correct: nss_ldap does indeed need read access to the userPassword attribute of your LDAP server. The only way around that is to know the LDAP root user's password and I think your admin will not give that either. So, you're stuck.
PAM will bind to the LDAP server to check the password and therefore does not need to be able to read the userPassword attr...

Eric
 
  


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
pam ldap authentication brandon@rhiamet.com Linux - Security 2 01-22-2009 07:58 AM
vsftpd using Ldap+pam authentication issue PhillipHuang Linux - Software 1 09-26-2006 10:43 PM
pam ldap limit authentication hassan2 SUSE / openSUSE 0 08-01-2005 06:03 PM
pam and ldap authentication problem abrb220 Linux - Networking 2 07-31-2005 03:49 PM
Squid PAM authentication and LDAP redmat Linux - Newbie 1 09-03-2004 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 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