openldap/servers/slapd/back-passwd/external.h
Kurt Zeilenga 445b7982d7 Patch: back-passwd needs pwent mutex (ITS#1794)
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
			================

back-passwd uses getpwent() and setpwfile(), which use static data.
It needs a mutex to make sure these operations can complete without
interference from another back-passwd call.  Here is a patch.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.
2002-05-09 02:26:05 +00:00

17 lines
300 B
C

/* $OpenLDAP$ */
#ifndef _PASSWD_EXTERNAL_H
#define _PASSWD_EXTERNAL_H
LDAP_BEGIN_DECL
extern BI_init passwd_back_initialize;
extern BI_destroy passwd_back_destroy;
extern BI_op_search passwd_back_search;
extern BI_db_config passwd_back_db_config;
LDAP_END_DECL
#endif /* _PASSWD_EXTERNAL_H */