]> git.sur5r.net Git - openldap/commitdiff
Set schema flags (might need schema check routines as well)
authorKurt Zeilenga <kurt@openldap.org>
Sat, 31 May 2003 21:56:18 +0000 (21:56 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 31 May 2003 21:56:18 +0000 (21:56 +0000)
servers/slapd/back-monitor/init.c

index c1b179b2759b76345af6486a4f207103a67e7dd2..b3d22be76721cdbe7ee93a5dbf028bc733ec156e 100644 (file)
@@ -594,6 +594,8 @@ monitor_back_db_open(
 #endif
                        return -1;
                }
+
+               (*ad)->ad_type->sat_flags != mat[i].flags;
        }
 
        for ( i = 0; moc[i].name; i++ ) {
@@ -662,6 +664,8 @@ monitor_back_db_open(
                        return -1;
                }
 
+               Oc->soc_flags |= moc[i].flags;
+
                ((ObjectClass **)&(((char *)mi)[moc[i].offset]))[0] = Oc;
        }