[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ldap <--> heimdal again
>>>>> /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" ?
>
> See the OpenLDAP source code: include/ldap_defaults.h defines LDAPI_SOCK
> which is the default socket path. Heimdal doesn't know anything about the
> actual pathname of the socket, it's purely a libldap item.
so, if I start slapd with different runtime option, heimdal will pick the
path to socket automatically ? ... through libldap ?
>
> --
> -- Howard Chu
> Chief Architect, Symas Corp. Director, Highland Sun
> http://www.symas.com http://highlandsun.com/hyc
> Symas: Premier OpenSource Development and Support
>