[turba] Problem with Turba 1.2.2

Edwin Culp eculp at viviendaatualcance.com.mx
Thu Mar 4 04:01:54 PST 2004


Quoting Per Steinar Iversen <PerSteinar.Iversen at adm.hio.no>:

> I am trying to setup a new box for our webmail service and want to use
> horde-2.2.5, imp-3.2.3 and turba-1.2.2 for this. The platform used is
> RedHat AS3, PHP 4.3.5RC3. The LDAP server runs OpenLDAP 2.1.27
>
> Everything works very well, apart from Turba. My turba/config/sources.php
> looks like this:
>
> $cfgSources['tilsatt'] = array(
>     'title' => 'HiO tilsatt',
>     'type' => 'ldap',
>     'params' => array(
>         'server' => 'ldap.hio.no',
>         'port' => 389,
>         'root' => 'ou=tilsatt,dc=hio,dc=no',
>         'encoding' => 'utf8',
>     ),

You might need some of the following depending on you installation:

         'bind_dn' => 'cn=manager,dc=hio,dc=no',
         'bind_password' => 'secret',
         'dn' => array('mail'),
         'objectclass' => array('top',
                                'person',
                                'inetOrgPerson',
                                'hordePerson',
                                'turbaContact',
                                'calEntry',
                                ),
         'filter' => '',
         'charset' => 'utf-8',
         'version' => 3
     ),

Hope this helps,

ed
>     'map' => array(
>         '__key' => 'dn',
>         'name' => 'cn',
>         'email' => 'mail',
>         'alias' => 'uid'
>     ),
>     'search' => array(
>         'name',
>         'email',
>         'alias'
>     ),
>     'public' => true,
>     'readonly' => true,
>     'export' => true
> );
>
> This works somewhat, this is from the ldap log when looking for "iversen" :
>
> conn=368 fd=291 ACCEPT from IP=2001:700:700:1:2c0:9fff:fe35:266d 
> 33128 (IP=:: 389)
> conn=368 op=0 BIND dn="" method=128
> conn=368 op=0 RESULT tag=97 err=0 text=
> conn=368 op=1 SRCH base="ou=tilsatt,dc=hio,dc=no" scope=2 
> filter="(|(|(cn=*iversen*)))"
> conn=368 op=1 SRCH attr=dn cn mail uid sn
> conn=368 op=1 SEARCH RESULT tag=101 err=0 nentries=2 text=
> get_filter: unknown filter type=48
>
> The "unknown filter" message occurs with recent OpenLDAP servers, the
> older ones do not seems to mind the slightly strange filter that Turba
> uses.
>
> I get two hits as expected, but then Turba starts doing strange things:
>
> conn=368 op=2 SRCH base="uid=iversen,ou=tilsatt,dc=hio,dc=no" scope=0 
> filter="(?=undefined)"
> conn=368 op=2 SEARCH RESULT tag=101 err=0 nentries=0 text=
> get_filter: unknown filter type=48
> conn=368 op=3 SRCH base="uid=beriti,ou=tilsatt,dc=hio,dc=no" scope=0 
> filter="(?=undefined)"
> conn=368 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text=
> conn=368 op=4 UNBIND
> conn=368 fd=291 closed
>
> Why does it try to do this? All the information needed was returned in the
> first search anyway.
>
> On the screen there are just no hits displayed.
>
> Any ideas?
>
> -psi
>
> --
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org




More information about the turba mailing list