How can I get the cleartext version of a password through JNDI?

mark wilcox

You can't, unless the password is stored in cleartext in the directory (which would be a bad idea). The passwords are encrypted using a strong 1-way hash function such as MD5 or SHA1 (SHA1 being the most common and preferred function).