Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all articles
Browse latest Browse all 1619

License generation api modifies the execution count incorrectly

$
0
0
Dear support,

We are using the license generation api to modify the execution count of hardware keys.
However when we apply the v2c to the hardware key it increments incorrectly.
consider the following situation:

I feed the following xml:

<?xml version="1.0" encoding="utf-8"?>

      <sentinel_ldk:license schema_version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sentinel_ldk="http://www.safenet-inc.com/sentinelldk">

            <enforcement_type>HL</enforcement_type>

            <product>

                  <id>123</id>

                  <name>Sample Product 123</name>

                  <feature>

                        <id>10</id>

                        <name>executions</name>

                        <license_properties>

                              <!-- "sub" action will reduce the number of days from the base expiration date -->

                              <execution_count action="add">1</execution_count>

                              <concurrency>

                                      <count>Unlimited</count>

                                      <count_criteria>Per Station</count_criteria>

                                      <network_access>Yes</network_access>

                              </concurrency>

                              <remote_desktop_access>Yes</remote_desktop_access>

                        </license_properties>

                  </feature>

            </product>

      </sentinel_ldk:license>


I get a v2c, however the v2c adds 2 to the execution count instead of one.

If I set it to 4 it will add 8 so it doubles up..


Viewing all articles
Browse latest Browse all 1619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>