Добрый день!
Проблема такая, надо ограничить доступ к лицензии 1 компьютер, но не выходит!
На сервере через файл nhsrv.ini пытаюсь поставить ограничение по ip но не выходит!
Код:
;*******************************************************************************
;*
;* NetHASP License Manager sample configuration file.
;*
;* boolean switches may have the values
;* 1, yes, true, enabled
;* 0, no, false, disabled
;*
;*******************************************************************************
; ------------------------------------------------------------------------------
; global LM settings
; ------------------------------------------------------------------------------
[NHS_SERVER]
NHS_USERLIST = 250 ; maximum number of concurrent logins
; to this LM (default=250, max = 65520)
;NHS_SERVERNAMES = cad, test1, ; server names to match the name a client
; LM017, ; requests (max 6 names, max 7 chars/name)
; oefibla
NHS_HIGHPRIORITY = no ; run LM at high priority (default=no)
; ------------------------------------------------------------------------------
; settings for the IP protocol
; ------------------------------------------------------------------------------
[NHS_IP]
NHS_USE_UDP = enabled ; enabled or disabled (default: enabled)
NHS_USE_TCP = enabled ; enabled or disabled (default: enabled)
NHS_IP_portnum = 475 ; IP port number (default: 475 (IANA registered))
; CAUTION: clients must use the same port !
NHS_IP_LIMIT = 192.168.1.45 - пк который не должен получать лицензию
; specifies the range of stations that are allowed to access the LM
; the LAST byte may be a range (e.g., 10-120)
; the 4th, the 4th and 3rd, or the 4th and 3rd and 2nd byte may be an asterisk,
; acting as wildcard (e.g., 10.*.*.*, but NOT 10.*.20.1)
; an additional bitmask can be specified as number of one-bits (e.g., 10.0.0.0/ 8)
; ------------------------------------------------------------------------------
; settings for the IPX protocol
; ------------------------------------------------------------------------------
[NHS_IPX]
NHS_USE_IPX = enabled ; enabled or disabled (default: enabled)
;NHS_addrpath = c temp ; pathname for haspaddr.dat (default: current dir)
NHS_AppendAddr = no ; append to haspaddr.dat (default: replace)
NHS_usesap = enabled ; enabled or disabled (default: enabled)
NHS_ipx_socketnum = 0x7483 ; IPX socket number (default: 0x7483)
; CAUTION: clients must use the same number !
; ------------------------------------------------------------------------------
; settings for the NetBios protocol
; ------------------------------------------------------------------------------
[NHS_NETBIOS]
NHS_USE_NETBIOS = enabled ; enabled or disabled (default: enabled)
;NHS_NBNAME = MyNBName ; use another than predefined NetBios name
; CAUTION: clients must use the same name !
;NHS_use_lana_nums = 3,0,7,2 ; default = all (automatic)