[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ldap <--> heimdal again



>>>>> 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:///");

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 ?
will it work in your case after You have deleted it ?

Cheers,
Ilia Chipitsine