diff -r 5774b1c3f192 heartbeat/iSCSITarget
--- a/heartbeat/iSCSITarget	Fri Dec 17 15:08:22 2010 +0900
+++ b/heartbeat/iSCSITarget	Fri Dec 17 15:14:55 2010 +0900
@@ -480,30 +480,31 @@
 
     # Do we have any configuration parameters that the current
     # implementation does not support?
-    local unsupported_params
-    local var
-    local envar
-    case $OCF_RESKEY_implementation in
-	iet|tgt)
-	    # IET and tgt do not support binding a target portal to a
-	    # specific IP address.
-	    unsupported_params="portals"
-	    ;;
-	lio)
-	    # TODO: Remove incoming_username and incoming_password
-	    # from this check when LIO 3.0 gets CHAP authentication
-	    unsupported_params="tid incoming_username incoming_password"
-	    ;;
-    esac
-    for var in ${unsupported_params}; do
-	envar=OCF_RESKEY_${var}
-	if [ -n "${!envar}" ]; then
-	    ocf_log warn "Configuration parameter \"${var}\"" \
-		"is not supported by the iSCSI implementation" \
-		"and will be ignored."
-	fi
-    done
-
+    if ocf_is_probe || [ "$__OCF_ACTION" = "validate-all" ]; then
+	local unsupported_params
+	local var
+	local envar
+	case $OCF_RESKEY_implementation in
+	    iet|tgt)
+		# IET and tgt do not support binding a target portal to a
+		# specific IP address.
+		unsupported_params="portals"
+		;;
+	    lio)
+		# TODO: Remove incoming_username and incoming_password
+		# from this check when LIO 3.0 gets CHAP authentication
+		unsupported_params="tid incoming_username incoming_password"
+		;;
+	esac
+	for var in ${unsupported_params}; do
+	    envar=OCF_RESKEY_${var}
+	    if [ -n "${!envar}" ]; then
+		ocf_log warn "Configuration parameter \"${var}\"" \
+		    "is not supported by the iSCSI implementation" \
+		    "and will be ignored."
+	    fi
+	done
+    fi
     if ! ocf_is_probe; then
         # Do we have all required binaries?
 	case $OCF_RESKEY_implementation in
