Huddleson Nathanael - nhuddl wrote:
I'm working on a preop modify plugin to add additional password
strength tests. As I have been working through it, I had many
troubles until I decided to print the password to the logs. It seems
that the password is being encoded into password storage hash before
my pre-op function gains access to it. Is there a way to define a
function that is exectuted before the hash is applied, or maybe a way
to retrieve the un-hashed password in the modify function?
/* Used to make unhashed
passwords available to plugins. */
#define PSEUDO_ATTR_UNHASHEDUSERPASSWORD "unhashed#user#password"
See -
http://cvs.fedora.redhat.com/lxr/dirsec/source/ldapserver/ldap/servers/sl...
However, slap.h is a "private" interface - we should probably move this
to slapi-plugin.h
Thanks!
Nathanael Huddleson
Software Developer
Nathanael.Huddleson(a)acxiom.com <mailto:Nathanael.Huddleson@acxiom.com>
*************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.
If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
Thank you.
*************************************************************************
------------------------------------------------------------------------
--
Fedora-directory-devel mailing list
Fedora-directory-devel(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-devel