[turba] Problem with Active Directory

Mimmus dviggiani at tiscali.it
Fri Nov 28 07:36:59 PST 2003


I solved introducing:

        'objectclass' => array('organizationalPerson'),
        'filter' => '&(objectClass=organizationalPerson)(mail=*domain.it)',

Thanks
DV

-----Original Message-----

From: turba-bounces at lists.horde.org [mailto:turba-bounces at lists.horde.org]On Behalf Of Mimmus

Sent: Friday, November 28, 2003 4:07 PM

To: turba at lists.horde.org

Subject: [turba] Problem with Active Directory



Hi,

I'm trying to configure Turba to lookup in Active Directory address book.

My users are not all in "cn=Users,dc=domain,dc=it" DN but are organized in

Organizational Units (OU):

dc=domain,dc=it

ou=Sectors

ou=Sector1

ou=Sector1.1

ou=Users

ou=Computers

ou=Sector1.2

ou=Users

ou=Computers

....

ou=Sector2

ou=Sector2.1

ou=Users

ou=Computers

....

I used:

$cfgSources['pitagora'] = array(

'title' => 'Pitagora',

'type' => 'ldap',

'params' => array(

'server' => 'pdc.domain.it',

'encoding' => 'utf8',

'port' => 389,

'bind_dn' => 'imp',

'bind_password' => 'pwd',

'root' => 'ou=Sectors,dc=domain,dc=it',

'filter' => '&(mail=*domain.it)'

),

'map' => array(

'__key' => 'dn',

'name' => 'cn',

'email' => 'mail',

'alias' => 'givenname'

),

'search' => array(

'name',

'email',

'alias'

),

'public' => true,

'readonly' => true,

'export' => false

);

but serches doesn't return always anything.

I wrote a simple snippet of Perl code to test LDAP setup (auth, dn,

basename, filters, etc) and it works.

Any idea/suggestion?


More information about the turba mailing list