]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-perl/modify.c
return structuralObjectClass errors
[openldap] / servers / slapd / back-perl / modify.c
index a454ca0b7d2489199fe9f03cd3cb5bcccd2674f3..1da13c00f273585d34c94809cc37c8b2e3e0a3b7 100644 (file)
@@ -63,6 +63,11 @@ perl_back_modify(
                        {
                                XPUSHs(sv_2mortal(newSVpv( mods->sm_values[i].bv_val, 0 )));
                        }
+
+                       /* Fix delete attrib without value. */
+                       if ( i == 0) {
+                               XPUSHs(sv_newmortal());
+                       }
                }
 
                PUTBACK;