Page 1 of 1 1
Topic Options
#29084 - 2002-09-16 11:59 AM client ipadress in TS environment
Prasatko Offline
Fresh Scripter

Registered: 2002-09-05
Posts: 6
Loc: The Netherlands
Hi there!

I'm trying to figure out how to fetch the client ipaddress when someone is connecting through a Terminal Service or Citrix connection.
Do any of you know of a way to do it?

Thanks!
Jeroen

Top
#29085 - 2002-09-16 01:58 PM Re: client ipadress in TS environment
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jeroen,

From the Kixtart Manual..

Doesn't @IPADDRESS0 do what you are looking for?

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#29086 - 2002-09-16 02:04 PM Re: client ipadress in TS environment
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Kyder, all macros executed in the logon script of a TS client reflect the attributes of the Terminal Server not the client where the TS session was started. My tak on this is that we are trying to determine the location of the computer that started the TS session.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#29087 - 2002-09-16 02:17 PM Re: client ipadress in TS environment
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Here is some work I did on this a while back. You'll notice that one of the items returned is the client's IP address.

Note the caveat though - this uses Citrix (MetaFrame) SDK.

To be honest I'd forgotten all about it and only turned it up in a search. Remember, "search" is your friend.

Top
#29088 - 2002-09-16 02:23 PM Re: client ipadress in TS environment
Prasatko Offline
Fresh Scripter

Registered: 2002-09-05
Posts: 6
Loc: The Netherlands
Hi Richard!

Thanks I'll look into it. I tried search, but must have used the wrong keywords... As I didn't find anything.
I'm diving into it right now.

Jeroen

[ 16. September 2002, 14:26: Message edited by: Prasatko ]

Top
#29089 - 2002-09-17 04:26 AM Re: client ipadress in TS environment
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Take a look at this gem
http://thethin.net/clientinfo.zip

I haven't tested it but it looks like it might fit the need.

There's also a WTSManager.DLL floating about that can be accessed via COM. GOOGLE found it but the site was down when I checked.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#29090 - 2002-09-21 01:52 AM Re: client ipadress in TS environment
Sam Wu Offline
Lurker

Registered: 2002-09-21
Posts: 1
Hello,

I am trying to accomplishing the same thing. The problem is that clientinfo.zip (and ctxinfo.exe sp?) requires a bunch of Citrix dll that is not easily accessible.

How do people here log Terminal Service access? I would like to capture the IP address of where the orignating IP address.

Thanks in advance.
Sam

Top
#29091 - 2002-09-21 04:02 AM Re: client ipadress in TS environment
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Sam,
Check your mail.
I sent you WTSManager.DLL
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#29092 - 2002-09-21 08:08 AM Re: client ipadress in TS environment
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Jeroen/Sam,

Found a thread where the same issue came up before - HowTo determine IP Address.

Thanks!

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 382 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.121 seconds in which 0.087 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org