diff --git a/CHANGES b/CHANGES
index b7abbe8139de21d58dbe3288e0eccfcda00d5b23..4177fdde265f2877711a69047938dc61a1181bee 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,7 @@ OpenLDAP 2.4 Change Log
 OpenLDAP 2.4.19 Engineering
 	Fixed slapo-dynlist lock leak (ITS#6308)
 	Fixed slapo-pcache cache corruption (ITS#6242)
+	Fixed contrib/nssov getgroupbymembers (ITS#6291)
 
 OpenLDAP 2.4.18 Release (2009/09/06)
 	Fixed client tools common options (ITS#6049)
diff --git a/contrib/slapd-modules/nssov/nssov.h b/contrib/slapd-modules/nssov/nssov.h
index 27c579e05fc136d5d545f2da04f7c1142d338b8d..f9767584dfd45735e08510d30b48f2c1989afb70 100644
--- a/contrib/slapd-modules/nssov/nssov.h
+++ b/contrib/slapd-modules/nssov/nssov.h
@@ -323,6 +323,7 @@ int pam_pwmod(nssov_info *ni,TFILE *fp,Operation *op);
     /* do the internal search */ \
 	op->o_bd->be_search( op, &rs ); \
 	filter_free_x( op, op->ors_filter, 1 ); \
+	WRITE_INT32(fp,NSLCD_RESULT_END); \
     return 0; \
   }