[turba] LDAP random uid not working
Max-4004
max-4004 at terragate.net
Tue Feb 22 07:48:34 PST 2005
Hi,
Turba with ldap works fine. But I like to use an random uid für the dn
entries. Turba generats me a random uid attribute
(20050222160541.6bwjjc7tekw8 at domain) for every entry.
But for the dn uses the cn. like
cn=tom,ou=Address Book,cn=max,ou=people,dc=domain
I want:
uid=20050222160541.6bwjjc7tekw8 at domain,ou=Address
Book,cn=max,ou=people,dc=domain
so that I can store two or more entries with cn=tom.
If I delete the cn from the dn array, turba tries to add the entry
ou=Address Book,cn=max,ou=people,dc=domain
so the uid is probably emty and not used.
Help is very welcome!
THX
Here my config:
$basedn = 'ou=people,dc=xxx';
$cfgSources['personal_ldap'] = array(
'title' => 'Globales Adressbuch',
'type' => 'ldap',
'params' => array(
'server' => 'localhost',
'root' => 'ou=Address Book,cn=' . $uid . ','. $basedn,
'bind_dn' => 'cn='.$uid.','.$basedn,
'bind_password' => $pw, //Auth::getCredential('password'),
'dn' => array('uid','cn'),
'objectclass' => array('top',
'person',
'inetOrgPerson',
'mozillaorgperson',
'organizationalPerson'),
'charset' => 'utf-8',
'version' => 3
),
More information about the turba
mailing list