> > 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.
>
> Maybe I am missing something, but I provide a password when I create
> a profile. Therefore, this profile will become useless when the
> password expires. I thought it would be natural to store this expiry
> date together with the profile, so we don't have to do extra steps in
> order to figure out for how long a profile will be valid.

There are other ways in a corporate environment to expedite password 
expiry.  In other words: when you create the account, the password might 
be valid for 60 days, but 10 days later something happens (password 
reset? restore-from-backup?) and your password is suddenly only valid 
for 7 days.

> Clients that use the profile to create a mapi session could then
> check the expiration from the profile and do something appropriate.
> Since my client runs every ten minutes, I wouldn't want it to check
> the expiration on the server.

You should check once a day.  That's polite.

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to