Re: No details for LDAP directory

Jan Schneider <[email protected]>
Newsgroups gmane.comp.horde.turba
Message-ID <[email protected]>
Zitat von [email protected]:

> Zitat von Jan Schneider <[email protected]>:
>
>> Zitat von [email protected]:
>>
>>> Zitat von [email protected]:
>>>
>>>> Zitat von [email protected]:
>>>>
>>>>> Zitat von [email protected]:
>>>>>
>>>>>> Zitat von Simon Wilson <[email protected]>:
>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> we try to use a central LDAP directory as read only contact  
>>>>>>>> store with Turba latest. Searching works fine as of now but  
>>>>>>>> when clicking at the found entries to get the details for  
>>>>>>>> this entries Turba always show the error message "Not found"  
>>>>>>>> and jump back to the search screen. The LDAP source is listed  
>>>>>>>> below, the backend is "ESTOS MetaDirectory". We have tried  
>>>>>>>> different mappings for __key, but the result is always the  
>>>>>>>> same :-(
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ----- End message from [email protected] -----
>>>>>>>
>>>>>>> This is what I have in ours, works fine as a GAL type read  
>>>>>>> only source. Is sync'ed through to ActiveSync devices as a  
>>>>>>> global address list too, which is handy.
>>>>>>>
>>>>>>
>>>>>> GAL works as expected also, but as said the details when  
>>>>>> klicking on the found entries in Turba does not work. We set  
>>>>>> browse and export to false because there are ~3000 entries  
>>>>>> available.
>>>>>>
>>>>>
>>>>> Any idea how to debug this??
>>>>>
>>>>
>>>> I have set the loglevel to "DEBUG" to see the LDAP request  
>>>> failing, but i only see one LDAP request which is the one from  
>>>> the search which is working. So clicking the name to get the  
>>>> contact details seem to do no further LDAP request but simply  
>>>> fail. Any idea what could cause the contact details to fail  
>>>> without a (LDAP) query??
>>>>
>>>
>>> The URL create is something like this  
>>> "https://webmail.kwsoft.de/turba/contact.php?source=localldap&key=589371882a9ebbe85234fe351de17561" which looks fine to me. The error message "Not found" is included in turba/edit.php and turba/deletefile.php but not in turba/contact.php. Can anyone comment on how to debug why no LDAP query is created for the URL  
>>> above??
>>>
>>> Thanks
>>>
>>> Andreas
>>
>> This doesn't look fine at all. IIRC you mapped __key to dn, but  
>> this is definitely not a dn.
>
> As said we have tried several "__key" mappings, the first was indeed  
> "dn" which was for example
>
> https://webmail.kwsoft.de/turba/contact.php?source=localldap&key=cn%3D589371882a9ebbe85234fe351de17561%2Cou%3DExterne%2Cdc%3Dmeta
>
> but the result was the same "Not found" and no LDAP query in the  
> debug log for the details.
>
> So how to debug why no LDAP query is create at all?
>
> Regards
>
> Andreas

You need to trace the code in contact.php then.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject

-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.