]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema_prep.c
Merge remote branch 'origin/mdb.master'
[openldap] / servers / slapd / schema_prep.c
index f551f9262801ab9f378c13ee058c470288b7bb2a..85cd15c14321326794ddfb6fafd0f1778a81d5bd 100644 (file)
@@ -934,6 +934,7 @@ static struct slap_schema_ad_map {
                "DESC 'RFC2307: An integer uniquely identifying a user "
                                "in an administrative domain' "
                "EQUALITY integerMatch "
+               "ORDERING integerOrderingMatch "
                "SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )",
                NULL, 0,
                NULL, NULL,
@@ -944,6 +945,7 @@ static struct slap_schema_ad_map {
                "DESC 'RFC2307: An integer uniquely identifying a group "
                                "in an administrative domain' "
                "EQUALITY integerMatch "
+               "ORDERING integerOrderingMatch "
                "SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )",
                NULL, 0,
                NULL, NULL,
@@ -1159,6 +1161,7 @@ slap_schema_load( void )
        slap_at_proxied.sat_syntax = slap_schema.si_syn_octetString;
        slap_schema.si_at_proxied = &slap_at_proxied;
 
+       ldap_pvt_thread_mutex_init( &ad_index_mutex );
        ldap_pvt_thread_mutex_init( &ad_undef_mutex );
        ldap_pvt_thread_mutex_init( &oc_undef_mutex );