[IMP] impPrefs last_login

Jan Schneider jan at horde.org
Wed Mar 26 00:08:57 PST 2003


Quoting Robert Kubarych <rkubarych at bergen.edu>:

> We are using LDAP to store preferences, and would like to use the
> last_login attribute so that we can write a program to delete accounts
> in batch based on how long it has been since a user logged into IMP.
> However it is being stored in LDAP like this:
> 
> last_login:MTA0ODYyOTM0NA==.   Why is it being stored like this, and how
> can it be stored in a format that can be interpreted?

If you're using ldap as the preference backend, all preferences are stored
base64 encoded. All you have to do is to decode the value after the colon.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list