]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/init.c
Missed a test in AttributeDescription commit
[openldap] / servers / slapd / init.c
index ebdb637dabca3e6dbbfc9524568bd8d21af01f9d..cfd38d77a2db55eb2bf2e3ef101e9b1a99ac1070 100644 (file)
@@ -43,6 +43,7 @@ ldap_pvt_thread_mutex_t       gmtime_mutex;
 #if defined( SLAPD_CRYPT ) || defined( SLAPD_SPASSWD )
 ldap_pvt_thread_mutex_t        passwd_mutex;
 #endif
+ldap_pvt_thread_mutex_t ad_mutex;
 
 int                            num_conns;
 long                   num_ops_initiated;
@@ -117,6 +118,7 @@ slap_init( int mode, const char *name )
                        ldap_pvt_thread_mutex_init( &num_sent_mutex );
 
                        ldap_pvt_thread_mutex_init( &gmtime_mutex );
+                       ldap_pvt_thread_mutex_init( &ad_mutex );
 #if defined( SLAPD_CRYPT ) || defined( SLAPD_SPASSWD )
                        ldap_pvt_thread_mutex_init( &passwd_mutex );
 #endif