diff --git a/COPYING b/COPYING index 8a44bb1df..39eaba158 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -Copyright (c) 2009-2011, Antoine Nguyen +Copyright (c) 2009-2012, Antoine Nguyen Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above diff --git a/INSTALL b/INSTALL index 71fc3d0ef..8c756eadb 100644 --- a/INSTALL +++ b/INSTALL @@ -186,8 +186,10 @@ Then, all you have to do is to modify the `settings.py` file: AUTH_LDAP_BIND_DN = "" AUTH_LDAP_BIND_PASSWORD = "" - AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=users,dc=example,dc=com", - ldap.SCOPE_SUBTREE, "(uid=%(user)s)") + LDAP_USER_BASE = "ou=users,dc=example,dc=com" + LDAP_USER_FILTER = "(mail=%(user)s)" + AUTH_LDAP_USER_SEARCH = LDAPSearch(LDAP_USER_BASE, + ldap.SCOPE_SUBTREE, LDAP_USER_FILTER) You will find a detailled documentation `here `_. @@ -196,6 +198,28 @@ Once the authentication is properly configured, the users defined in your LDAP directory will be able to connect to *Modoboa*, the associated domain and mailboxes will be automatically created if needed. +Users will also be able to update their LDAP password directly from +Modoboa. + +.. note:: + + Modoboa doesn't provide any synchronization mechanism once a user + is registered into the database. Any modification done from the + directory to a user account will not be reported to Modoboa (an + email address change for example). Currently, the only solution is + to manually delete the Modoboa record, it will be recreated on the + next user login. + +Available settings +~~~~~~~~~~~~~~~~~~ + +* ``LDAP_USER_BASE`` : the distinguish name of the search base +* ``LDAP_USER_FILTER`` : the filter used to retrieve users distinguish name +* ``LDAP_PASSWORD_ATTR`` : the attribute used to store the password + (default: ``userPassword``) +* ``LDAP_ACTIVE_DIRECTORY`` : used to indicate if your directory is an + Active Directory one (default: ``False``) + How to upgrade ============== @@ -208,6 +232,30 @@ requires a migration. Before executing a schema/data migration, I recommend that you make a copy of your existing database. +0.8.8: CSV import feature and minor fixes +----------------------------------------- + +#. Edit the *settings.py* file and + ``'modoboa.lib.middleware.AjaxLoginRedirect'`` to the + ``MIDDLEWARE_CLASSES`` variable like this:: + + MIDDLEWARE_CLASSES = ( + 'django.middleware.common.CommonMiddleware', + 'django.contrib.sessions.middleware.SessionMiddleware', + 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.contrib.messages.middleware.MessageMiddleware', + 'django.middleware.locale.LocaleMiddleware', + 'modoboa.lib.middleware.AjaxLoginRedirect', + 'modoboa.lib.middleware.ExtControlMiddleware', + 'modoboa.extensions.webmail.middleware.WebmailErrorMiddleware', + ) + +#. Still inside *settings.py*, modify the ``DATABASE_ROUTERS`` + variable like this:: + + DATABASE_ROUTERS = ["modoboa.extensions.amavis_quarantine.dbrouter.AmavisRouter"] + + 0.8.7: per-user language selection ---------------------------------- diff --git a/doc/conf.py b/doc/conf.py index 7c98365dd..ba9ba8d6c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -41,16 +41,16 @@ master_doc = 'index' # General information about the project. project = u'Modoboa' -copyright = u'2011, Antoine Nguyen' +copyright = u'2012, Antoine Nguyen' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '0.8.7' +version = '0.8.8' # The full version, including alpha/beta/rc tags. -release = '0.8.7' +release = '0.8.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.