Menu

#1 vacation pam / ldap support

open
nobody
None
5
2009-10-11
2009-10-11
maxam
No

hi,
today i played a round with your great plugin, to make it work for me, my user are stored in LDAP directory, i had to make some modification.
pls note: this is just a quick and dirty hack, it works for me, and maybe someone else can use it..
what i've done:
1) i need to change the squirrelmail_vacation_proxy to its successor squirrelmail_autoresponder_forwarder_proxy, because this one supports pam auth. (src included)
2) i created the setuidpam.class.php, based on your setuid.class.php
3) added the setuidpam.class.php to vacation.php (require)
4) added the config params for $rcmail_config['setuidpam'] to config.inc.php (same params used as $rcmail_config['setuid'])

im sorry but i'm not used to the "diff" tools, so a added all my changes in the TGZ.

best,
max

Discussion

  • maxam

    maxam - 2009-10-11
     
  • Jasper

    Jasper - 2009-10-11

    Thanx. It looks fine to me. I need to change a few things like the usuage of $error.

    I probably ditch support for setuid.class.php in version 2.0 in favor of your setuidpam.

    As for now, I'll commit your code to the repository.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.