]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/init.c
fix global configuration patch (ITS#3353)
[openldap] / servers / slapd / init.c
index 0f658614ad3b4792c5c7df71fb16ae89e97817da..30e1269bc9a8eb705a96a39ef48db0d0e993d106 100644 (file)
@@ -126,7 +126,7 @@ slap_init( int mode, const char *name )
                ldap_pvt_thread_mutex_init( &SLAPD_GLOBAL(gmtime_mutex) );
 #endif
 #if defined( SLAPD_CRYPT ) || defined( SLAPD_SPASSWD )
-               ldap_pvt_thread_mutex_init( &passwd_mutex );
+               ldap_pvt_thread_mutex_init( &SLAPD_GLOBAL(passwd_mutex) );
 #endif
 
                rc = slap_sasl_init();