[turba] edit LDAP entry

Erick Lopez elopez at ues.edu.sv
Tue Oct 18 10:40:24 PDT 2005


Craig,
I notice you use uid, I use cn instead. I am going to try it and see that
fixes the problem...
thanks.

--------
Unidad de Educación a Distancia
Universidad de El Salvador
Tel. +(503) 22251500 ext.4183


---------- Original Message -----------
From: Craig White <craigwhite at azapple.com>
To: Adam Tauno Williams <adam at morrison-ind.com>
Cc: Erick Lopez <elopez at ues.edu.sv>, turba at lists.horde.org
Sent: Tue, 18 Oct 2005 12:32:45 -0700
Subject: Re: [turba] edit LDAP entry

> On Tue, 2005-10-18 at 14:59 -0400, Adam Tauno Williams wrote:
> > > Craig, Here's what I have at sources.php:
> > > $cfgSources['localldap'] = array(
> > >     'title' => _("Employee Directory"),
> > >     'type' => 'ldap',
> > >     'params' => array(
> > >         'server' => 'localhost',
> > >         'port' => 389,
> > >         'root' => 'ou=employees,ou=users,dc=my,dc=company,dc=fake',
> > >         'bind_dn' => 'ou=users,dc=my,dc=company,dc=fake',
> > >         'bind_password' => 'secret',
> > 
> > This looks wrong.  You are binding as an organizationalUnit?
> ----
> which probably doesn't bode well for security on his setup either.
> 
> Anyway, fwiw, I use this in my setup...
> 
> snippage...
> 
> $basedn = 'dc=mydomain,dc=net';
> $cfgSources['base_ldap'] = array(
>     'title' => _("Employee Directory"),
>     'type' => 'ldap',
>     'params' => array(
>         'server' => 'localhost',
>         'port' => 389,
>         'tls' => true,
>         'root' => 'ou=People,ou=Accounts,dc=mydomain,dc=net',
>         'bind_dn' => 'uid=' . $uid . ',ou=People,ou=Accounts,' .\
> $basedn,
>         'bind_password' => Auth::getCredential('password'),
> 
> snippage...
> 
> Craig
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
------- End of Original Message -------



More information about the turba mailing list