log the last login time to database with auxprop

Thomas Börnert tb at tbits.net
Sat Jul 30 17:09:09 EDT 2005


hello cyrus list!

i'm using auxprop because of using NTLM, DIGEST-MD5 ....

i want to log the last login time to the database for web-cyradm.
i tried this workarround:

sasl_sql_select: INSERT INTO `log` (`msg`,`user`,`time`) VALUES ('AUTH
SUCCESSFUL','%u',NOW()); SELECT `password` FROM `accountuser` WHERE
`username` = '%u'

but it doesn't work. :-(

have anyone another idea ?

thx

Thomas



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list