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

Re: developing module that instantiates check_password() function

Scott Koranda wrote:

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.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/