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

Re: crypt_mutex?



Fixed.

At 10:53 AM 9/20/00 -0400, Mark Adamson wrote:
>servers/slapd/passwd.c isn't compiling.
>
>  gcc -g -O2 -I../../include -I../../include      -c  passwd.c
>  passwd.c: In function `slap_passwd_check':
>  passwd.c:228: `crypt_mutex' undeclared (first use in this function)
>
>
>
>Should be
>
>Index: passwd.c
>===================================================================
>RCS file: /repo/OpenLDAP/pkg/ldap/servers/slapd/passwd.c,v
>retrieving revision 1.18
>diff -u -r1.18 passwd.c
>--- passwd.c    2000/09/19 22:28:57     1.18
>+++ passwd.c    2000/09/20 14:52:49
>@@ -225,7 +225,7 @@
>        int result = 1;
> 
> #if defined( SLAPD_CRYPT ) || defined( SLAPD_PASSWD )
>-       ldap_pvt_thread_mutex_lock( &crypt_mutex );
>+       ldap_pvt_thread_mutex_lock( &passwd_mutex );
> #ifdef SLAPD_SPASSWD
>        lutil_passwd_sasl_conn = conn->c_sasl_context;
> #endif
>
>
>
>-Mark Adamson
> Carnegie Mellon