[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: trying to understand referrals



Hi Chris,

my problems arose from not understanding the whole rebinding process.
I understand that the LDAP structure must be prepared to handle
referrals and to make a "backup" of the information that is affiliated
with the original LDAP server. Before I would think that storing this
information was my job. But really, the only thing one has to do in
that ldap_set_rebind_proc callback function is to make a bind while
OpenLDAP takes care of the rest.

Regards,
Khaled


2010/8/3 Chris Jacobs <Chris.Jacobs@apollogrp.edu>:
> What did you end up doing, out of curiosity?
>
> - chris
>
> Chris Jacobs, Systems Administrator
> Apollo Group  |  Apollo Marketing | Aptimus
> 2001 6th Ave Ste 3200 | Seattle, WA 98121
> phone: 206.441.9100 x1245 | mobile: 206.601.3256 | fax: 206.441.9661
> email: chris.jacobs@apollogrp.edu
>
> ----- Original Message -----
> From: openldap-technical-bounces@OpenLDAP.org <openldap-technical-bounces@OpenLDAP.org>
> To: openldap-technical@openldap.org <openldap-technical@openldap.org>
> Sent: Tue Aug 03 04:26:16 2010
> Subject: Re: trying to understand referrals
>
> I've now resolved my issues.
>
> Regards,
> Khaled
>
> 2010/8/3 Khaled Blah <khaled.blah@googlemail.com>:
>> Is there anyone who knows anything about this and could help me understand it?
>>
>> Regards,
>> Khaled
>>
>> 2010/7/31 Khaled Blah <khaled.blah@googlemail.com>:
>>> Hello all,
>>>
>>> I'm writing an LDAP application using OpenLDAP. First of all, thanks
>>> to the many contributors to this project! It's highly appreciated!
>>>
>>> Now, I'm trying to understand how I can implement an application that
>>> knows how to deal with referrals. I've implemented a function which I
>>> assign via ldap_set_rebind_proc, however I am not entirely sure what
>>> to do within this function that I assign to  ldap_set_rebind_proc.
>>> What I've done so far is to parse the url parameter using
>>> ldap_url_parse and then assign the data from the LDAPURLDesc structure
>>> to my own data structure. Then I call ldap_init and ldap_bind_s in
>>> order to bind to the referral. However, it seems I am doing something
>>> wrong. Can anyone here give me any hints as to what to within that
>>> function that is assigned to ldap_set_rebind_proc?
>>>
>>> Thanks in advance!
>>>
>>> Regards,
>>> Khaled
>>>
>>
>
>
> This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
>
>
>