#130717 - 2004-12-07 10:03 AM
Re: Get ip address to server in logon script
|
mah01
Fresh Scripter
Registered: 2003-01-28
Posts: 22
|
Quote:
Shouldn't be a real need to get the IP since the logon server should have a STATIC IP and you can get the name of the server that logged the client in with the @LServer macro.
Thank you, but I need the ip address ( which isn't known by the client even though it is static ). Your function would probably work fine, but I need to know that the client will always have access to the ip address. I have only glanced at your function but I saw a timeout parameter and that makes me think that there is a possibility it might fail to recieve the ip address.
Quote:
if there is a need though try : Ping() - checks for reply , or returns ip-address of remote host
Thank you, I guess that perhaps there is no macro or function in kix to salve my problem.
I will probably try to write the ip address to a file and put it in the netlogon directory during installation of the server. That way the client can read the ip address from the file when it runs the logon script.
What do you think of that solution?
Kind regards,
Mattias
Edited by mah01 (2004-12-07 10:09 AM)
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 1607 anonymous users online.
|
|
|