On Fri, 2009-05-01 at 10:21 +0200, Julien Kerihuel wrote: > On Thu, 2009-04-30 at 22:56 +0800, [email protected] wrote: > > Currently my OWA is showing me a yellow line telling me that my > > password will expire in n days. I like this. Is there a way to query > > such information in the mapi or samba infrastructure? It would be nice > > if this info could be retrieved during during profile creation and > > stored in the profile. > > Hi, > > If I remember correctly, password expiration notification is part of the > SAMR interface implemented by Samba. It sounds reasonable to implement > this function within libmapiadmin (even wrapper on top of samba4 > existing library or directly dealing with the IDL). Implementing such > function shouldn't be much an issue. > > In the meantime, I'm not sure how relevant storing this information into > MAPI profile would be. I would rather prefer to have a --expiration to > mapiprofile that would connect on SAMR pipe only and fetch the > information.
Something that (on first glance) looks reasonable if valid/happens on the network: Assuming Exchange RPC interfaces return MAPI_E_PASSWORD_EXPIRED when the password expires, we can probably update libmapiadmin to have a "password update" function we can add to openchange tools. I need to have a closer look at the SAMR interface - see if there is already a function doing this and which we can use for our libmapiadmin wrapper. Cheers, Julien. --- Julien Kerihuel [email protected] OpenChange Project Manager GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
