I am using Lanman to enumerate sessions on Windows Terminal Servers. Everything
seems to work just fine except for two things. The client address and the client
display return garbage characters.

I don't care about the client display,  so I ignored it. The client address on
the other hand, I care a lot about.

I tried unpacking it as 'join(".",unpack("C4", $addr))' but it yielded 2.0.0.0
or 0.0.0.0 for every ip address.

Is this a flaw in Lanman or a packed format I don't understand. the lanman docs
are mute on the subject.

I am using Win2K pro with Activestate build 620 to pull WTS info from NT4 SP6a
servers. All other info comes out correctly.

Any help is greatly appreciated.

Eric Lengvenis


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to