[turba] New Turba Install (h3)
Kevin M. Myer
kevin_myer at iu13.org
Wed Oct 19 15:14:08 PDT 2005
Quoting Carl Hultay <chultay at auricnet.ca>:
> I did try your method, I appreciate your help!
>
> Yeah, I wonder where the extra ',' is coming from... I even tried (but
> failed) searching through various .php's... but obviously don't
> understand it enough.
The _makeKey function in turba/lib/Driver/ldap.php generates the DN.
But its not generating a proper DN. The return code is:
return $dn . ',' . $this->_params['root'];
So you can see where the comma is coming from. Since $dn doesn't have
a value, you get the DN you reported.
You have a config option for:
'dn' => array('cn'),
But, you don't map 'cn' to any Turba attribute in the attribute map.
Try replacing the 'givenname' map with 'cn':
'map' => array(
'__key' => 'dn',
'name' => 'cn', <-----change this from givenname to cn
'email' => 'mail',
'workPhone' => 'telephonenumber',
'cellPhone' => 'mobile',
'office' => 'department',
)
Or change your 'dn' => array entry to be 'dn' => array('givenname') if
thats what you really want as the DN.
Kevin
--
Kevin M. Myer
Senior Systems Administrator
Lancaster-Lebanon Intermediate Unit 13 http://www.iu13.org
More information about the turba
mailing list