Package modules :: Module contacts_ldap
[hide private]
[frames] | no frames]

Module contacts_ldap

source code

Synchronize with a LDAP

It is assumed, that you are using the "mozillaAbPersonAlpha" schema for your LDAP. Otherwise, the mapping wouldn't work as the attributes are required.

The LDAP Python site package python-ldap (http://python-ldap.sourceforge.net/) is required for this module. Before installing the site package, the LDAP libraries (http://www.openldap.org/) must be available on the machine. I couldn't find any pre-compiled package of either of the two - so I had to compile and install everything myself (what a mess). I found the following sources helpful:

Hopefully, in near future an LDAP as well as a Python-LDAP ipkg will be available.

Special characters (such as umlauts) seem to result in an error being thrown. This is due to some unicode encoding problem. ToDo: Resolv this issue!

Please note, that currently, only read access to LDAP is implemented.

This file is part of Pisi.

Pisi is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Pisi is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Pisi. If not, see <http://www.gnu.org/licenses/>

Classes [hide private]
  SynchronizationModule
The implementation of the interface contacts.AbstractContactSynchronizationModule for the LDAP backend
Variables [hide private]
  __package__ = 'modules'