На сервере:
;*******************************************************************************
;*
;* 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 = HASPSRV1, HASPSRV2 ; 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 = 10.24.2.18-99, 10.1.1.9/16, 10.25.0.0/24,
; 192.0.0.*, 194.0.*.*, 11.*.*.*,
; 10.24.7.8-12 /30, 10.24.2.17
; 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)
; ------------------------------------------------------------------------------
; end of file
; ------------------------------------------------------------------------------
На клиенте:
; NetHASP Configuration file syntax.
;
;
; Note:
;
; All text lines were commented.
; Remove comments in the lines you want to use.
;
[NH_COMMON]
;
; Section-specific Keywords
;
;
; You can set either of the following three Keywords to "Enabled"!
;
NH_IPX = Disabled ; Use the IPX protocol
NH_NETBIOS = Disabled ; Use the NETBIOS protocol
NH_TCPIP = Enabled ; Use the TCP/IP protocol
;
; General Keywords
;
;;NH_SESSION = <num> ; See Adapting the Timeout Length
;;NH_SEND_RCV = <num> ; in the HASP Programmer's Guide.
[NH_IPX]
;
; Section-specific Keywords for the IPX protocol.
;
;;NH_NCLIENT32 = Disabled ; Disable Novell Client use
;;NH_GET_LOCAL_TARGET = Disabled ; Disable LM search over segments
;;NH_USE_BINDERY = Enabled or Disabled ; Use IPX with bindery.
; Default: Disabled
; Ignored under Win32 API.
; This switch replaces older switch
; named NH_USE_SAP.
;;NH_USE_BROADCAST = Enabled or Disabled; Use IPX Broadcast mechanism.
; Default: Enabled
;;NH_BC_SOCKET_NUM = <number> ; Broadcast socket number (HEX).
; Default: 7483H
;;NH_USE_INT = 2F_NEW or 7A_OLD ; 2F_NEW means that IPX protocol will
; use interrupt 2Fh ONLY.
; 7A_OLD means that IPX protocol will
; use interrupt 7Ah ONLY.
; Default: 2F_NEW.
;;NH_SERVER_NAME = <name1>, <name2>,.. ; Communicate with the NetHASP
; Server with the specified name.
; Maximum: 6 names, up to 7
; case-insensitive characters each.
;;NH_SEARCH_METHOD = Localnet or Internet ; See Local Networks and
; Internetworks in the HASP
; Programmer's Guide.
;;NH_DATFILE_PATH = <path> ; Specify the location of the NetHASP
; License Manager's address file.
;
; General Keywords
;
;;NH_SESSION = <num> ; See Adapting the Timeout Length
;;NH_SEND_RCV = <num> ; in the HASP Programmer's Guide.
[NH_NETBIOS]
;
; Section-specific Keywords for the NetBIOS protocol.
;
;;NH_NBNAME = <name> ; Assign a name to the NetHASP
; License Manager.
; 1 name possible, up to 8
; case-insensitive characters.
;;NH_USELANANUM = <num> ; Assign a lana number to be used
; as a communication channel.
;
; General Keywords
;
;;NH_SESSION = <num> ; See Adapting the Timeout Length
;;NH_SEND_RCV = <num> ; in the HASP Programmer's Guide.
[NH_TCPIP]
;
; NetHASP does not support TCP/IP under DOS.
;
;
; Section-specific Keywords for the TCP/IP protocol.
;
NH_SERVER_ADDR = 192.168.200.21, 192.168.200.22 ; IP addresses of all the NetHASP
; License Managers you want to search.
; Unlimited addresses and multiple
; lines are possible.
;
; Possible address format examples:
; IP address: 192.114.176.65
; Local Hostname: ftp.aladdin.co.il
;;NH_PORT_NUMBER = <num> ; Set the TCP/IP port number. This is
; optional. The default number is 475.
;;NH_TCPIP_METHOD = TCP or UDP ; Send a TCP packet or UDP packet
NH_TCPIP_METHOD = TCP ; Default: UDP
NH_USE_BROADCAST = Disabled ; Use TCPI/IP Broadcast mechanism.
; Default: Enabled
;;NH_SERVER_NAME = <name1>, <name2>, ; Communicate with the NetHASP
; Server with the specified name.
; Maximum: 6 names, up to 7
; case-insensitive characters each.
;
; General Keywords.
;
;;NH_SESSION = <num> ; See Adapting the Timeout Length
;;NH_SEND_RCV = <num> ; in the HASP Programmer's Guide.
0 коммент.:
Отправить комментарий