[turba] Localsql not listed

Francine.Bolduc at ti.csaffluents.qc.ca Francine.Bolduc at ti.csaffluents.qc.ca
Fri Mar 30 15:31:49 UTC 2012


Hi !

I have 3 actives address book in /turba/config/backends.php.

In Horde, I see "ldapEmpl" and "ldapEle" but not "localsql". Why ?

backend.php :

$cfgSources['localsql'] = array(
    'disabled' => false,
    'title' => "Mon carnet personnel",
    'type' => 'sql',
    'params' => array(
        'sql' => array(
        'phptype' => 'pgsql',
        'hostspec' => 'localhost',
        'username' => 'horde',
        'password' => '<my_password>',
        'database' => 'horde',
        'charset' => 'utf-8'
        ),
        'table' => 'turba_objects'
    ),
        'map' => array(     .... etc...
);

$cfgSources['ldapEmpl'] = array(
    'disabled' => false,
    'title' => "Employe",
    'type' => 'ldap',
    'params' => array(
        'server' => '<my_server>',
        'port' => 389,
        'tls' => false,
        'root' => 'ou=EMPLOYES,ou=PERSONNES,o=MY_ORG',
        'bind_dn' => '<my_bind_dn>',
        'bind_password' => '<my_password>',
        'sizelimit' => 200,
        'dn' => array('cn'),
        'objectclass' => array('person'),
        'scope' => 'one',
        'charset' => 'iso-8859-1',
        'checkrequired' => false,
        'checkrequired_string' => ' ',
        'checksyntax' => false,
        'version' => 3
    ),
    'map' => array(  .... etc...
);

$cfgSources['ldapEle'] = array(
    'disabled' => false,
    'title' => "Eleve",
    'type' => 'ldap',
    'params' => array(
        'server' => '<my_server>',
        'port' => 389,
        'root' => 'ou=ELEVES,ou=PERSONNES,o=MY_ORG',
        'bind_dn' => '<my_bind_dn>',
        'bind_password' => '<my_password>',
        'sizelimit' => 200,
        'dn' => array('cn'),
        'objectclass' => array('person'),
        'scope' => 'one',
        'charset' => 'iso-8859-1',
        'checkrequired' => false,
        'checkrequired_string' => ' ',
        'checksyntax' => false,
        'version' => 3
    ),
    'map' => array(  ... etc...
);

localldap and  personal_ldap are disabled.
prefs and favourites are enabled.




prefs.php :

$_prefs['addressbooks'] = array(
    'value' => json_encode(array('localsql','ldapEmpl','ldapEle'))
);

$_prefs['columns'] = array(
    'value' => "localsql\temail\nEmploye\temail\nEleve\temail"
);


Thanks

Francine




More information about the turba mailing list