[turba] ldap searches causing segfaults
Liam Hoekenga
liamr at umich.edu
Wed Mar 5 08:45:00 PST 2003
Things seem to work again after the latest cvs update.
Liam
On Wednesday, February 26, 2003, at 12:46 AM, Liam Hoekenga wrote:
> Hey -
>
> PHP 4.3.0, oracle ldap libraries, CVS Horde and Turba from tonight.
> Turba's LDAP tests in turba/test.php work just fine.
> When I search our LDAP directory using search.php, apache segfaults.
> We've got Horde 2.2.1, IMP 3.2 and Turba 1.2RC1 installed on a
> separate virtual
> host on the same machine, and LDAP works fine from there.
>
> I'm a bit confused. It suggests to me perhaps a problem in my turba
> configuration. Our LDAP server is keyed on UID (which we in turn, we
> call "uniqname"), so I've attached the LDAP entry in question from
> sources.php,
> and the changes I made to attributes.php
>
> Ideas?
>
> Liam
> --------------------------------------------------------------------
> Here's what my conf looks like..
>
> $cfgSources['umod'] = array(
> 'title' => _("UofM Online Directory"),
> 'type' => 'ldap',
> 'params' => array(
> 'server' => 'ldap.itd.umich.edu',
> 'port' => 389,
> 'root' => 'ou=People,dc=umich,dc=edu',
> 'dn' => array('uid'),
> 'objectclass' => 'person',
> 'filter' => '',
> 'charset' => 'iso-8859-1'
> ),
> 'map' => array(
> '__key' => 'dn',
> 'name' => 'cn',
> 'email' => 'mail',
> 'uniqname' => 'uid',
> 'title' => 'title'
> ),
> 'search' => array(
> 'name',
> 'uniqname'
> ),
> 'strict' => array(
> 'dn',
> 'uid'
> ),
> 'public' => true,
> 'readonly' => true,
> 'export' => false
> );
>
>
> --- attributes.php.dist Wed Feb 5 08:16:33 2003
> +++ attributes.php Wed Feb 26 00:23:12 2003
> @@ -34,6 +34,11 @@
> 'required' => false
> );
> +$attributes['uniqname'] = array(
> + 'label' => _("Uniqname"),
> + 'type' => 'text',
> + 'required' => false
> +);
> $attributes['alias'] = array(
> - 'label' => _("Alias"),
> + 'label' => _("Nickname"),
> 'type' => 'text',
> 'required' => false
>
>
>
> --
> Turba mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
More information about the turba
mailing list