]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldap/add.c
Fix aci link error.
[openldap] / servers / slapd / back-ldap / add.c
index 2d579215ce1d4bb9c09fe620087d21a989847cbd..13064fd27ff95f31a6743131a7ffe341eae106e2 100644 (file)
@@ -67,11 +67,7 @@ ldap_back_add(
        for (i=0, a=e->e_attrs; a; i++, a=a->a_next) {
                attrs[i] = (LDAPMod *)ch_malloc(sizeof(LDAPMod));
                attrs[i]->mod_op = LDAP_MOD_BVALUES;
-#ifdef SLAPD_SCHEMA_NOT_COMPAT
                attrs[i]->mod_type = a->a_desc->ad_cname->bv_val;
-#else
-               attrs[i]->mod_type = a->a_type;
-#endif
                attrs[i]->mod_vals.modv_bvals = a->a_vals;
        }