Re: [Fedora-directory-devel] preop modify plugin woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/slapd/slap.h#287

However, slap.h is a "private" interface - we should probably move this to slapi-plugin.h
Thanks! Nathanael Huddleson
Software Developer
Nathanael.Huddleson@xxxxxxxxxx <mailto:Nathanael.Huddleson@xxxxxxxxxx>
*************************************************************************
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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux