]> git.sur5r.net Git - openldap/commitdiff
check for SOFTADD as well
authorPierangelo Masarati <ando@openldap.org>
Mon, 20 Aug 2007 19:05:07 +0000 (19:05 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 20 Aug 2007 19:05:07 +0000 (19:05 +0000)
servers/slapd/modify.c

index 37fceebe43d46466438442f5823e0e7cefa52811..4a0a87eb9099115c101636f063e5c51fb138cd58 100644 (file)
@@ -877,6 +877,7 @@ void slap_mods_opattrs(
                timestamp.bv_val = timebuf;
                for ( modtail = modsp; *modtail; modtail = &(*modtail)->sml_next ) {
                        if ( (*modtail)->sml_op != LDAP_MOD_ADD &&
+                               (*modtail)->sml_op != SLAP_MOD_SOFTADD &&
                                (*modtail)->sml_op != LDAP_MOD_REPLACE )
                        {
                                continue;