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

Re: developing module that instantiates check_password() function



On Sat, Aug 10, 2013 at 10:30 AM, Howard Chu <hyc@symas.com> wrote:
> Scott Koranda wrote:
>>
>> Hello,
>>
>> I wish to develop a user-defined loadable module that instantiates the
>> check_password() function as described in the slapo-ppolicy man page.
>>
>> The man page specifies the function prototype as
>>
>> int check_password (char *pPasswd, char **ppErrStr, Entry *pEntry);
>>
>> In which header file is the 'Entry' type defined?
>
>
> In slap.h. You cannot develop any code for slapd without this header file.
>

Thank you.

Is this a correct statement?

When one develops a check_password() function as described in the slapo-ppolicy
man page one does not develop against header files installed as part
of an OpenLDAP
./configure, make depend, make install cycle but instead develops
against the OpenLDAP
code base as if developing for slapd.