Few weeks ago we found a similar problem. We need some extra atributes in LDAP to register the day we add an entry and the day we disable an account (called qmailFechaAlta and qmailFechaMod respectively). Only need a few changes in qmail schema and no changes on source code to get exactly what we need. Thats one of the most importants benefits about open source.
Adding few extra code in auth_imap and auth_pop is all that you need to make it works. Go ahead and dont forget to submit your patch ;) In adition, will be a good idea to include logging information like this in qmailLDAP in the future. > Hi all, > > We are currently looking in to altering qmail-ldap to write each user's > last login time to a new ldap attribute in the schema. > > The idea is that whatever part of the code that writes to the > lastlogintime file in users' maildirs should be altered to also write to > ldap. I must be a womble though, as I can't find it. > > Guessing, though, that a small modification to auth_pop and auth_imap > should be all that is required. Can anyone confirm this? > > -- > Peter Hubbard <[EMAIL PROTECTED]> > >
