FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 03-13-2009, 02:10 PM
Hugo Etievant
 
Default Password History Navigation

Hi,

I have setted a password policy with password history.

When i use ldappasswd for change password, this tool says me "Constraint
violation" but that do not mean the real raison of failure.


=>>> How can we verify if a password is in the history list ???

my follwing command is not successful :
ldapsearch -h HOST -p 389 -D "cn=ADMIN" -b "ou=UNIT,dc=HOST,dc=COM" -x
-w - "(passwordHistory=OLDPASSWD)" dn



regards

--
* Hugo Étiévant *
**

--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
 
Old 03-16-2009, 04:37 PM
Rich Megginson
 
Default Password History Navigation

Hugo Etievant wrote:

Hi,

I have setted a password policy with password history.

When i use ldappasswd for change password, this tool says me
"Constraint violation" but that do not mean the real raison of failure.


=>>> How can we verify if a password is in the history list ???
If you display the extended information sent back in the LDAP error
return, you should see a message like this "password in history"


my follwing command is not successful :
ldapsearch -h HOST -p 389 -D "cn=ADMIN" -b "ou=UNIT,dc=HOST,dc=COM" -x
-w - "(passwordHistory=OLDPASSWD)" dn

passwordHistory stores hashed passwords so this ldapsearch won't work

I suppose you could use ldapsearch to get the passwordHistory list, then
write a script to use the pwdhash command to hash and compare a given
password with the passwords in the list.



regards



--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
 

Thread Tools




All times are GMT. The time now is 07:25 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org