[TYPO3] $TSFE-Frontend-Password with LDAP
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Mon Dec 4 10:02:31 CET 2006
Wolfgang Hennerbichler schrieb:
> Hi Typo3-Folks,
>
> I'm trying to write an extension that displays imap quotas, and an
> extension that will enable editinig of sieve scripts (cyrus).
> For that I need the username and password of somebody who logged into
> the frontend (to forward the password to the IMAP server).
> I'm using ldap_auth, and somehow I can't find the password of the user
> in $GLOBALS["TSFE"]->fe_user->user.
> $GLOBALS["TSFE"]->fe_user->user["password"] is just empty. Does anybody
> know why? I guess it has to do with ldap-authentication, but I hope
> there must be a way to get this password, or am I thinking wrong?
If you do not use one of the FE password encrypting extensions you can
fetch it in plain text from the fe_users table.
But if you use an external authetication like LDAP it will not be stored on
the server. In this case you could hack the extension to store it in the
session.
Masi
More information about the TYPO3-english
mailing list