Index: /branches/rel_avx_2_7_6/lib/casnmp/snmp.c
===================================================================
--- /branches/rel_avx_2_7_6/lib/casnmp/snmp.c	(revision 9242)
+++ /branches/rel_avx_2_7_6/lib/casnmp/snmp.c	(working copy)
@@ -1484,6 +1484,11 @@
 			return CA_ERR_SNMP_INVAL;
 		}
 
+		if (is_snmpv3user_exist(comm_user) == 0) {
+                        printf("%s user does not exist in user database of SNMP.\n", comm_user);
+                        return CA_ERR_SNMP_INVAL;
+		}
+
 		if (engine_id_len > ENGINE_ID_MAX_LEN ||
 			engine_id_len < ENGINE_ID_MIN_LEN) {
 			printf("Engine ID length must be an even number between %d to %d\n",
