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

Re: commit: ldap/doc/man/man8 slappasswd.8



Luke Howard wrote:
At 06:39 PM 12/29/2003, Luke Howard wrote:

BTW we should check for crypt_r() -- not sure if the API signature is
portable but for platforms that we can support it avoids reentrancy
issues associated with crypt().

Little point in that... it's all behind a mutex anyways.


Sure, but: plugins may call crypt() without being access to slapd's
mutex (we have one that does).

Then, a better solution would be to provide a slapi_int_crypt() that provides the service with the same protection used inside slapd...

Ando.

--
Dr. Pierangelo Masarati         mailto:pierangelo.masarati@sys-net.it
LDAP Architect, SysNet s.n.c.   http://www.sys-net.it



Buon Natale e felice Anno Nuovo SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497