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













Security Notice
Phishing campain
Version 1.4.15
Security Upgrade
Plugins - LDAP Query plugin
Category: Miscellaneous

Permits users to get more than just email addresses and usernames from LDAP servers. Also permits searching by more than just username. Good for obtaining company rosters via squirrelmail


Version 2.1
by Tomas Kuliavas on Apr 10, 2006
[ ldapquery-2.1-1.4.3.tar.gz tarball (6115 d/l) Help ]
Requires: SquirrelMail 1.4.3, php with ldap support

Description:

This plugin version adds LDAP server selection options, allows to return to search results after saving address and sanitizes search strings in LDAP search forms. Minimal SquirrelMail version requirements are increased to 1.4.3.

LDAP Query v.1.x Warning

WARNING. Plugin is not compatible with v.1.x configuration files. Some attributes used in 1.x versions are not supported by 2.x translations and will be displayed as untranslated attribute names. If you want to use your old configuration file, remove all text descriptions from $ldq_attributes, $ldq_searchobjs and $ldq_searchattrs arrays.

For example, if $ldq_searchobjs contains

    array ("People"=>'person',"Any"=>'*')

it has to be replaced with

    array ('person','*')

Changes

  • Added telephonenumber and mobile attributes to address book form.
  • Removed unneeded SM_PATH constant check from setup.php.
  • Added LDAP server selection box.
  • Sanitized username and search string input fields.
  • Added SquirrelMail and PHP configuration checks.
  • Use own scripts to save address book entries. Allows to redirect user to previous search results.
  • Removed failsafe forms function library. Minimal required SquirrelMail version is 1.4.3.

Older versions

Version 2.0
by Tomas Kuliavas on Mar 20, 2005
[ ldapquery-2.0-1.4.0.tar.gz tarball (4523 d/l) Help ]
Requires: SquirrelMail 1.4.x, php with ldap support

Description:

This plugin version contains rewritten translation and configuration parts. Set of default attributes available to end user is changed. See CHANGELOG file for more information about plugin changes.

Changes from 1.7 to 2.0

  • ldapquery 1.x branched to LDQ_1
  • Fixed typo in "Search for" selection box. Thanks to Falko Trojahn for report.
  • Added OpenLDAP core, cosine and inetorgperson schema translations.
  • Added class that is used to work with LDAP schemas.
  • Removed LDAP attribute and object names from configuration file.
  • Moved gettext strings to ldapquery domain.
  • Moved all used functions to functions.php.
  • Added default and site configuration support.
  • Added charset conversion and sanitized output of LDAP results.
  • Moved smart result display formating to ldapquery_format_results() function.
  • Sanitized LDAP searches (security fix).
  • Changed default set of LDAP attributes. Attributes are the same as used in default phpldapadmin address book entry (inetorgperson object). only labeleduri is added.
  • Added version function and file.
  • Assigned plugin copyrights to SquirrelMail Project Team. Added links to plugin's license (GPL) and COPYING file.
  • Fixed ldap server name display in queries when name is not defined in config.
  • Added "Add to address book" forms to search results.
  • If search attributes ($ldq_searchattrs) is set to empty array, interface uses $ldq_attributes in "search for:" selection.
  • Added comments to some schema strings

Patch with differences from 1.7 version is available on SM-plugins site.



Version 1.7.1
by Tomas Kuliavas on Nov 1, 2004
[ ldapquery-1.7.1-1.4.0.tar.gz tarball (3299 d/l) Help ]
Requires: SquirrelMail 1.4.x, php with ldap support

Description:
  • Fixed typo in "Search for:" selection box.
    Thanks to Falko Trojahn for report.

Patch from previous version can be found on developer's site



Version 1.7
by Tomas Kuliavas on Oct 24, 2004
[ ldapquery-1.7-1.4.0.tar.gz tarball (2582 d/l) Help ]
Requires: SquirrelMail 1.4.x, php with ldap support

Description:
  • Change of plugin maintainer. Maintenance transfered from Brent Bice to Tomas Kuliavas
  • Plugin is stored in Sourceforge sm-plugins cvs
  • Plugin updated to SquirrelMail 1.4.x.
  • Fixed variables that required php register_globals on.
  • Fixed use of unchecked variables.
  • Added functions that use ldap authentication and bind protocol options available in SM 1.4.3+ and 1.5.0+.
  • Updated structure of option page.
  • Use SquirrelMail loading_prefs in order to load configuration.
  • Sanitized strings displayed in debug mode.


Version 1.6-1.2.5
by Brent Bice on Apr 10, 2002
[ ldapquery.1.6-1.2.5.tar.gz tarball (8067 d/l) Help ]
Requires: Only tested with SquirrelMail 1.2.5 and later but should work with 1.1.2 or later

Description: Fixed the preferences -- they save correctly again Also fixed it so it makes use of the compose in new window feature. Removed a debugging "print" statement I accidentally left in in the 1.5 version.

Version 1.4-1.1.2
by Brent Bice on Nov 8, 2001
[ ldapquery.1.4-1.1.2.tar.gz tarball (3234 d/l) Help ]
Requires: SquirrelMail 1.1.2 or greater

Description: Fixed a bug that occurred if you had multiple LDAP servers defined, but a query failed to connect to one or failed to find the requested record in one.

Version 1.3-1.1.2
by Brent Bice on Oct 26, 2001
[ ldapquery.1.3-1.1.2.tar.gz tarball (2741 d/l) Help ]
Requires: SquirrelMail 1.1.2 or greater

Description: Added an optional User DN and password field for LDAP servers that don't permit anonymous queries. Fixed PHP error when a search yielded no records. Several cosmetic fixes (no more empty table fields) Changed include() to require_once() for PHP 4.0.7 support.

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