Re: saslauthd LDAP account expiration support (patch)

From: Ted Cabeen (secabeen at pobox dot com)
Date: Thu Apr 29 2004 - 11:25:24 EDT

  • Next message: Igor Brezac: "Re: saslauthd LDAP account expiration support (patch)"

    Ted Cabeen <secabeen at pobox dot com> writes:

    > After looking at my options, I decided to just write a patch to the
    > lak.c file to add support for account exipration. I've included the
    > patch below. This patch adds a new variable: ldap_expire_attr. That
    > variable contains the name of an LDAP attribute that indicates the
    > expiration time of the account in seconds since the epoch. Expiration
    > checking is disabled by default in this patch.
    >
    > Thoughts? Can something like this get added to the main tree?
    > Thanks.

    The patch I sent yesterday had a few bugs and wouldn't patch or
    compile, mostly due to tab/space conversion and some missing variable
    declarations. Here's a new version that applies cleanly to 2.1.18 and
    also actually works. :)



    -- 
    Ted Cabeen           http://www.pobox.com/~secabeen            ted at impulse dot net 
    Check Website or Keyserver for PGP/GPG Key BA0349D2         secabeen at pobox dot com
    "I have taken all knowledge to be my province." -F. Bacon  secabeen at cabeen dot org
    "Human kind cannot bear very much reality."-T.S.Eliot        cabeen at netcom dot com
    


  • Next message: Igor Brezac: "Re: saslauthd LDAP account expiration support (patch)"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD