diff --git a/servers/slapd/result.c b/servers/slapd/result.c
index 4debc048fa..a4bd781e78 100644
--- a/servers/slapd/result.c
+++ b/servers/slapd/result.c
@@ -562,7 +562,7 @@ send_ldap_disconnect( Operation	*op, SlapReply *rs )
 	} else {
 		rs->sr_rspoid = LDAP_NOTICE_DISCONNECT;
 		rs->sr_tag = LDAP_RES_EXTENDED;
-		rs->sr_msgid = 0;
+		rs->sr_msgid = LDAP_RES_UNSOLICITED;
 	}
 
 	if ( send_ldap_response( op, rs ) == SLAP_CB_CONTINUE ) {