LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-16-2010, 02:22 AM   #1
sharjeel
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Rep: Reputation: 0
PAM configuration for changing password on LDAP client machine


I have configured LDAP server on RHEL 5.2 Linux.
Client is unable to change its password from client linux box.
I think there is PAM configuration problem in /etc/pam.d/system-auth file.
What will be the exact entries in this file.


help
 
Old 04-16-2010, 10:31 AM   #2
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
Do you have an ACL in LDAP to allow the user to change the password?
 
Old 04-19-2010, 02:33 AM   #3
sharjeel
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Original Poster
Rep: Reputation: 0
thanks for response:

I am using the following ACL. With this ACL client can change its password with passwd comman while loggin to the server directly while prompting the old password, but not in the case of client machine.

#access to *
by self write
by users read
by anonymous auth

#ACL through which we can change user password on Server with passwd command.
access to dn.subtree="ou=People,dc=example,dc=com" attrs=userpassword
by self write
by anonymous auth
by * none
access to * by * read

#ACL obtained by Gentoo
access to attrs="userPassword"
by dn="uid=root,ou=People,dc=example,dc=com" write
by dn="uid=testuser,ou=People,dc=example,dc=com" write
by anonymous auth
by self write
by * none

access to *
by dn="uid=root,ou=People,dc=example,dc=com" write
by * search
 
Old 05-13-2011, 01:28 AM   #4
sharjeel
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Original Poster
Rep: Reputation: 0
ok I got it. Actually it was problem of my distribution.
command to change password is /usr/bin/passwd
 
  


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
how do a user can change its LDAP password on Linux client machine sharjeel Linux - Server 5 05-13-2011 01:25 AM
[SOLVED] PAM, LDAP on Slackware, login works, but not the password !!! Linux.tar.gz Slackware 2 09-01-2009 04:30 AM
LDAP + PAM Password Policy. FragInHell Linux - Security 0 11-29-2007 10:16 PM
RHEL5 ldap/pam client issue lokke Linux - Security 2 07-27-2007 08:52 AM
pam + ldap client paul_mat Linux - Networking 0 10-25-2005 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:58 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
Open Source Consulting | Domain Registration