[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ldap <--> heimdal again
> On Mon, Mar 14, 2005 at 07:18:02PM +0500, Ilia Chipitsine wrote:
>>>>>>> 1) how can I specify path to the socket openldap is listening on ?
>>>>>
>>>>> In /etc/rc.conf ( FreeBSD box )
>>>>
>>>> the question was "how does heimdal recognize where to look for that socket
>>>> ?"
>>>
>>> Hardcoded in
>>> /usr/ports/security/heimdal/work/heimdal-0.6.3/lib/hdb/hdb-ldap.c
>>>
>>> rc = ldap_initialize((LDAP **) & db->db, "ldapi:///");
^^^^^^^^^^^^^
but how to You know that string means "/var/run/openldap/ldapi" ?
>>
>> I saw this string, but I couldn't figure out whether it is
>> "/var/lib/ldapi" or "/var/run/openldap/ldapi"
>>
>>>
>>> See http://www.opentechnet.com/auth-howto/ is a good read
>>
>> I did heimdal + pam + whatever already. The only and current problem is
>> LDAP.
>>
>>>>> You can create link to /etc/ldap.conf
>>>>>
>>>>> ln -s /usr/local/etc/openldap/ldap.conf /etc/ldap.conf
>>>>
>>>> so, heimdal also requires /etc/ldap.conf ?
>>>>
>>>> hmm, why doesn't it complain that it cannot find such file than ?
>>>
>>> I don't know
>>
>> and how do You know that /etc/ldap.conf is required ?
>
> I saw in OpenLDAP list.
> http://www.openldap.org/lists/openldap-software/
>
>> will it work in your case after You have deleted it ?
>
> I don't know.
> I'll test it on some situations (server and client mode)...
>
> Aguinaldo
>