LDAP import from lotus Domino

Issue #72 resolved
davidschiffer42 created an issue

Hi, I am trying to import users from an IBM Lotus Domino LDAP directory as I want to integrate Piler as archive solution for IBM Lotus Domino ...

Could you please give me some hint how to do this. I created the ldap-import.cfg and executed

/usr/bin/php /usr/local/libexec/piler/ldap_sync.php /var/www/piler.fn.mydomain.de

but the only output is: 02-Apr-2013 19:37:04, 0/0/0/2

So can I see any logfiles or anything that is helping me debugging this?

Thanks and best regards David

Comments (3)

  1. Janos SUTO repo owner

    Hello David,

    if you use a recent version of master branch, then it's not necessary to import users from an ldap directory. You should rather set the following in config-site.php (you have to create it manually in the same directory where config.php resides, it contains site specific settings):

    <?php

    $config['ENABLE_LDAP_AUTH'] = 1; $config['LDAP_HOST'] = 'your.ldap.host'; $config['LDAP_HELPER_DN'] = 'uid=zimbra,cn=admins,cn=zimbra'; $config['LDAP_HELPER_PASSWORD'] = '***'; $config['LDAP_MAIL_ATTR'] = 'mail'; $config['LDAP_ACCOUNT_OBJECTCLASS'] = 'zimbraAccount'; $config['LDAP_BASE_DN'] = '';

    $config['LDAP_DISTRIBUTIONLIST_OBJECTCLASS'] = 'zimbraDistributionList'; $config['LDAP_DISTRIBUTIONLIST_ATTR'] = 'zimbraMailForwardingAddress';

    ?>

    The above values work for zimbra out of the box, so you have to tweak the settings above. In a nutshell you need a helper (read-only) account that can connect to the ldap server, and can issue ldap queries.

    If you sent me an ldap entry of an example account in Lotus Notes, I would help you tweaking these settings.

    It's also possible to assign distribution membership info to the users. To do so the gui should know what objects store this information.

    If you want to share some details privately, then send an email to my address (see piler -V).

    Important: I highly recommend to use the master branch, since it's basically the final (not released yet) 0.1.23.

  2. Log in to comment