s
why it was showing up as a hash.
-Original Message-
From: R. Joseph Newton [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 1:26 PM
To: Tim Johnson
Cc: Beginners List
Subject: Re: OLE Hash problem getting AD lastLogon
Tim Johnson wrote:
> I'm having trouble getting
Tim Johnson wrote:
> I'm having trouble getting the lastLogon property of a user in AD using
> Perl and LDAP. Below is my code. The problem is that I keep getting a
> blessed Win32::OLE hash returned instead of a number when returning the
> value of lastLogon.
This is the first issue, and it lo
Okay, this was such a pain in the buttocks that I decided to post the
"final" code. (I'll tweak it a bit later, but this is functional) My
apologies to someone, I found the pack(),unpack() part on the Internet,
and I'm not sure who the original author is.
###
Okay, I made it one step further. I had to convert the variable to a
VT_R8 variable. Now I can't seem to find any documentation on how this
relates to the date. I guess from here on out it's a Microsoft, not a
Perl question, but I'll post the code I have so far, because I know
others have run