SquirrelMail  
Donations
News
About
Support
Screen shots
Download
Plugins
Documentation
Sponsors
Bounties













Security Notice
Phishing campain
Version 1.4.15
Security Upgrade
Plugins - LDAP Prefs Backend
Category: Administrator's Relief

There are two backends for Squirrelmail: the standard backend stores users' profile/preferences in text files (file_prefs.php), and the MySQL one stores them in a MySQL database (db_prefs.php).

This one adds an LDAP backend. However, things are treated much differently, due to the difference in nature between LDAP and other databases. Namely: LDAP writes are expensive. Extensive caching is used to reduce the overhead on the LDAP server, especially in a setup with a lot of users.

This makes a big difference, from the user's point of view. Whenever changing some option, the change is for the current session only. The change will only be saved permanently, if and only if the user logs out from Squirrelmail, thus ending the session.

If downloads are not available from this site, please go to the plugin's own web page.

If you need help with this, or see improvements that can be made, please email me at the address below, or post a message to squirrelmail-plugins mailing list. This plugin, as is the case with all SquirrelMail plugins, is not directly supported by the developers.

Alexandros Vellis, email.uoa.gr
Network Operations Centre, University of Athens
(Personal home page).



Version 0.4
by Alexandros Vellis on May 30, 2003
[ ldapuserdata-0.4.tar.gz tarball (5812 d/l) Help ]
Requires: SquirrelMail 1.4.0+, LDAP Server (OpenLDAP 2.0.x or 2.1.x)

Description:
  • register_globals = off compatible
  • error_reporting = E_ALL compatible
  • New option needed in the Squirrelmail configuration: set the IMAP server address to be 'map:ldapuserdata_get_imapserveraddress', i.e.: $imapServerAddress = 'map:ldapuserdata_get_imapserveraddress';
  • Small fixes in the supplied config_sample.php.
  • New schema for OpenLDAP 2.1.x is provided.

Older versions

Version 0.3
by Alexandros Vellis on Jan 31, 2003
[ ldapuserdata-0.3.tar.gz tarball (3118 d/l) Help ]
Requires: SquirrelMail 1.3.2+, LDAP Database

Description:
  • Works with Squirrelmail 1.4.x. (Uses SM_PATH et al).
  • Various minor bugfixes and cleanups.


Version 0.2
by Alexandros Vellis on Jul 22, 2002
[ ldapuserdata-0.2.tar.gz tarball (2844 d/l) Help ]
Requires: Requires: SquirrelMail 1.2.x, LDAP server

Description:
  • Updated the LDAP schema.
  • Bugfix: Server side sorting is broken without a 'sort' attribute.
  • Bugfix: Fixed some variable names.
  • Bugfix: Now the special folders behave more correctly, as the appropriate attributes (move_to_trash, move_to_sent, save_as_draft are used).
  • The Options/Identities screen has been improved very much upon.
  • Added the new options screens, based on an early Squirrelmail 1.3.0 CVS.
  • Supports the mailalternateaddress and mailauthorizedaddress LDAP multivalue attributes, for an easy way to support different "identities".
  • Now allows the POP Fetch plugin attributes to be saved on the LDAP.


Version 0.1a
by Alexandros Vellis on May 8, 2002
[ ldapuserdata-0.1a.tar.gz tarball (2346 d/l) Help ]
Requires: SquirrelMail 1.2.x, LDAP server

Description:
  • Initial Release.
  • Forgot to include a file in 0.1, so reuploaded the plugin.


If you have problems with the download or decompressing...
Internet Explorer
Right-click on the file, then select "Save Target As"
Firefox, Mozilla, Netscape
Right-click on the file, then select "Save Link As"
Opera
Right-click on the file, then select "Save Link Document As"
Lynx and Links
Press "d" on the link to download the file directly.
  • Untarring problems: Your browser might have un-gzipped it for you automatically. Try just "tar xvf" instead of "tar xvfz". Also, the plugins archive isn't gzipped (it is a tarball of .tar.gz files)
  • Macintosh users: Just hold down your mouse button to get the menu instead of right-clicking.
  • If all else fails, seek our help
© 1999-2010 by The SquirrelMail Project Team