Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


The information on this page refers to LM-X v5.4.1 or newer, which introduced brute force password protection. 

The LMX_Admin_RestartServer function restarts the specified server.

...

nPort
[in] Port of the license server to be restarted. Port must be within the range of 1 - 65535.

szPassword
[in] Password Password of the license server to be restarted. The maximum length of the password can be up to LMX_MAX_LONG_STRING_LENGTH. Note that LM-X uses brute force password protection to prevent brute-force attacks.

Return values

On success, this function returns the status code LMX_SUCCESS.

On failure, this function returns an error code in the format described in Return SOAP API return codes.

Remarks

This function sends a restart command to the license server specified in szHostname. If the password specified in szPassword matches the password in the license server's configuration file, the server will be restarted, and LMX_SUCCESS will be returned. If the passwords do not match, the server will not be restarted, and LMX_LMX_NETWORK_DENY will be returned.

...