[turba] localldap source not working
LALOT Dominique
dom.lalot at gmail.com
Mon Nov 17 15:22:58 UTC 2008
Hello,
I don't know how to get localldap working.
It's not appearing under turba. I found something on the wiki about
permissions:
http://wiki.horde.org/AdminPerms
Turba 2.3 HordeGroupware 3.3
But it didn't help
testDom:~# grep localldap /tmp/horde.log
Nov 14 11:27:39 HORDE [debug] [imp] SQL Query by Prefs_sql::store(): UPDATE
horde_prefs SET pref_value = ? WHERE pref_uid = ? AND pref_name = ? AND
pref_scope = ?, values: localldap adbf8cddd942d195cf686bcfdeccbc39, lalot,
search_sources, imp [pid 627 on line 244 of
"/var/www/perso/horde-webmail-1.2/lib/Horde/Prefs/sql.php"]
3 =>
'a:3:{s:6:"source";s:9:"localldap";s:7:"default";b:1;s:4:"name";s:5:"lalot";}',
3 =>
'a:3:{s:6:"source";s:9:"localldap";s:7:"default";b:1;s:4:"name";s:5:"lalot";}',
testDom:~# grep localldap /var/log/mysql/mysql.log
65 Query SELECT COUNT(*) FROM horde_perms WHERE
perm_name = 'turba:sources:localldap'
65 Query SELECT perm_id, perm_data FROM
horde_perms WHERE perm_name = 'turba:sources:localldap'
What could be the probem. It was working with a fresh new install.
I upgraded from our production environement, running update scripts and then
using mysqldiff.pl to upgrade scructures and something may be wrong but I'm
not able to find it.
Thanks in advance
Dom
Here is my sources.php
$cfgSources['localldap'] = array(
'title' => 'Annuaire U2',
'type' => 'ldap',
'params' => array(
'server' => 'annu.uni.fr anu.pr.uni.fr',
'port' => 389,
'root' => 'ou=people,dc=univmed,dc=fr',
'dn' => array('dn'),
'encoding' => 'utf8',
'filter' =>
'&(mail=*)(|(objectclass=univmedperson)(objectclass=univmedpersdivers))',
'sizelimit' => 100,
'scope' => 'one',
'version' => 3
),
'map' => array(
'__key' => 'dn',
'name' => 'cn',
'alias' => 'givenname',
'email' => 'mail',
'workPhone' => 'telephonenumber',
),
'search' => array(
'name',
#'email',
),
'strict' => array('dn','mail'),
'public' => true,
'browse' => true,
'export' => false,
);
--
Dominique LALOT
Ingénieur Systèmes et Réseaux
http://annuaire.univmed.fr/showuser?uid=lalot
More information about the turba
mailing list