CHANGES.txt for the LDAPLoginAdapter This file contains change information for the LDAPLoginAdapter product. LDAPLoginAdapter 1.0beta3 Bugs Fixed: * Moved the LDAP search scope translation list from a volatile attribute on the LDAPLoginAdapter to a module-level attribute. This avoids any re-initialization calls. * Eliminated the extra attribute _v_loglines that counted the length of the log. A simple call to len(self._v_log) replaces it where log length info is needed. * Created one centralized method that handles connecting to and searching the LDAP server. This allows centralized error handling and makes for less and cleaner code. So far finduser, getUserDetails, getGroups, getUserNames and _lookupuser have been converted to use it instead of having their own connection code. * Rooted out error that would put a known user into the cache even though the password was not matched. This was not a security error since the broken user had the wrong password and failed any tests in validate() * Rigorous pruning of overly long lines of code to pare everything down to 80 chars width max * Avoiding unnecessary calls to the logging routine by checking for the correct log level *before* the call and not in the logging method. * Added a file, SAMPLE_RECORDS.txt, that shows a sample group- and user record. This will hopefully make it easier to understand the types of LDAP records needed. Features added: * Nicer Search screen adopted from the LDAPUserManager LDAPLoginAdapter 1.0beta2 Features added: * Clearer error messages through refactoring of all code that is responsible for connecting and disconnecting from the LDAP server. * Co-operation with the Zope Tracker software has been ensured by making a full name and email attribute available on the user object returned from the LDAPLoginAdapter. * Added API documentation to the Zope Help System Bugs Fixed: * Various code cleanups * Added check to see if a server address with a prepended "ldap://" was entered. * Updated all docs to clarify the reliance on Zope version 2.3.0 of higher. * Vetted all code to make sure that every connection made to the LDAP server is followed by a formal disconnect, regardless of processing between connect and disconnect. LDAPLoginAdapter 1.0beta1 Features added: * The LDAP record attribute to be used as the user's name can be selected from a list of attributes * The list of LDAP attributes to be used as the user's name can be extended or reduced and custom attributes can be added to it. * A Search screen allows the Manager to search the LDAP database for user records and then view their details. * The python code has been refactored and the code for the LDAPUser class has been split off into a separate module. * All LDAPLoginAdapter-specific management screens have help screens associated with them, accessible through the built-in Zope Help System. * All management screens have been modified to integrate with the new Zope Management Interface, introduced in Zope 2.3.0. * ...and many others I forgot to track. The Beginning This product started from Ross Lazarus' Zope LDAP Adapter, which has since seen many improvement and moved to SourceForge. You can see Ross' and Soren Roug's efforts at: http://sourceforge.net/projects/zldapadapter I decided to use it as a base and develop a customized version for use in authenticating users in Digital Creations' own intranet. I have come to the point where it has matured enough to be released to a wider audience.