Memotoo
Questions about how use MemotooRSS Feed
You wonder how it works, what is the usefulness of Memotoo.com, ...
Informations:
Number of messages: 685
Number of posts: 2356
Last posted: 2024-09-20 - 09:05
Last visit: 2024-11-22 - 13:42
Number of posts not read since your last visit: 0
Bookmark and Share
Return to the forum - Forums list - Reply to this post - New message - Search a postSearch a post

ajoute LDAP dans le webmail RoundCubeRSS Feed



Author Message
Thomas

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2010-02-28 - 22:07

Bonjour
J'ai essayé d'ajouter Memotoo LDAP dans ma configuration de mon webmail Roundcube comme indiqué dans le fichier main.inc.php de roundcube et les paramètres de Memotoo:

$rcmail_config['ldap_public']['Memotoo'] = array(
'name' => 'memotoo.com',
'hosts' => array('ldap.memotoo.com'),
'port' => 389,
'base_dn' => 'dc=1a0************14cd');

et activé l'auto-completion
$rcmail_config['autocomplete_addressbooks'] = array('sql','global','Memotoo');

Mais cela ne marche pas: je vois roundcube faire une recherche, il semble y avoir les 576 de mon carnet memotoo, mais aucune adresse email ne s'affiche

L'exemple complet de config LDAP pour roundcube donné dans le fichier config est

$rcmail_config['ldap_public']['Verisign'] = array(
'name' => 'Verisign.com',
'hosts' => array('directory.verisign.com'),
'port' => 389,
'use_tls' => false,
'user_specific' => false, // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login.
// %fu - The full username provided, assumes the username is an email
// address, uses the username_domain value if not an email address.
// %u - The username prior to the '@'.
// %d - The domain name after the '@'.
'base_dn' => '',
'bind_dn' => '',
'bind_pass' => '',
'writable' => false, // Indicates if we can write to the LDAP directory or not.
// If writable is true then these fields need to be populated:
// LDAP_Object_Classes, required_fields, LDAP_rdn
'LDAP_Object_Classes' => array("top", "inetOrgPerson"), // To create a new contact these are the object classes to specify (or any other classes you wish to use).
'required_fields' => array("cn", "sn", "mail"), // The required fields needed to build a new contact as required by the object classes (can include additional fields not required by the object classes).
'LDAP_rdn' => 'mail', // The RDN field that is used for new entries, this field needs to be one of the search_fields, the base of base_dn is appended to the RDN to insert into the LDAP directory.
'ldap_version' => 3, // using LDAPv3
'search_fields' => array('mail', 'cn'), // fields to search in
'name_field' => 'cn', // this field represents the contact's name
'email_field' => 'mail', // this field represents the contact's e-mail
'surname_field' => 'sn', // this field represents the contact's last name
'firstname_field' => 'gn', // this field represents the contact's first name
'sort' => 'cn', // The field to sort the listing by.
'scope' => 'sub', // search mode: sub|base|list
'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act
'fuzzy_search' => true); // server allows wildcard search
*/

mais je ne sais pas quel champ je dois ajouter ? Memotoo ne me donne rien d'autres comme paramètres

Merci



3 Replie(s)
Author Message
Thomas - Webmaster Memotoo
Thomas - Webmaster Memotoo


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2010-03-07 - 15:42     Subject: Re: Re: ajoute LDAP dans le webmail RoundCube

Bonjour

Il semble que la recherche ne renvoie que le "cn". Memotoo ne renvoie que ça car le client (ici RoundCube) ne demande que ça.

A mon avis, vous devriez jouer avec les paramètres:
'required_fields' => array("cn", "sn", "mail")
'search_fields' => array('mail', 'cn'),


M8QURT

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2010-03-14 - 12:28     Subject: Re: Re: Re: Re: ajoute LDAP dans le webmail RoundCube

j'ai rajouté es 2 lignes.
je vois dans le log roundube
[14-Mar-2010 12:22:54 +0100]: C: Connect [ldap.memotoo.com:389]
[14-Mar-2010 12:22:54 +0100]: S: OK
[14-Mar-2010 12:22:54 +0100]: C: Search [(|(mail=m)(cn=m))]
[14-Mar-2010 12:22:54 +0100]: C: Connect [ldap.memotoo.com:389]
[14-Mar-2010 12:22:54 +0100]: S: OK
[14-Mar-2010 12:22:54 +0100]: C: Search [(|(mail=mo)(cn=mo))]
[14-Mar-2010 12:22:54 +0100]: C: Connect [ldap.memotoo.com:389]
[14-Mar-2010 12:22:54 +0100]: S: OK
[14-Mar-2010 12:22:54 +0100]: C: Search [(|(mail=moe)(cn=moe))]
[14-Mar-2010 12:22:55 +0100]: S: 4 record(s)

ce qui est plausible. mais rien ne s'affiche concrêtement dans la liste déroulante.

bizarre


Thomas - Webmaster Memotoo
Thomas - Webmaster Memotoo


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2010-03-15 - 12:27     Subject: Re: ajoute LDAP dans le webmail RoundCube

C'est bizarre car Memotoo renvoie bien maintenant les contacts car la recherche marche ...


Memotoo Cloud My Address Book Ask my contacts to update their information
Return to the forum - Forums list - Reply to this post - New message - Search a postSearch a post