If you attached them they would have been stripped, I didn't receive anything did anyone else?

 


From: Dean Wells [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 3:19 PM
To: AD mailing list (Send)
Subject: RE: [ActiveDir] Converting Active Directory 64 Bit Time Values into Date Strings with Perl and general process you can use for other languages

 

Hi Carlos,

 

Enclosed are the scripts I mentioned -

 

NOTES -

 

* Neither have been tested against a 2000 AD or when executed on a 2000 Workstation

    - the basic elements of both scripts should function against and on a downlevel AD/workstation (may require minor mods.)

* The shell script use some nasty kludges in order to construct the FileTime query

    - to date, neither I nor my customers have experienced any negative effects

* The shell script requires Domain Admins privilege due to the kludge

    - the VBscript does not, but obviously does depend upon being able to read a user's accountExpiry attribute

* I recommend extending the native UI using DisplaySpecifiers in order to incorporate these scripts into AD U&C

* The shell script depends upon LDIFDE (and other executables), ensure they are local and within the path

 

For those that choose to try them, please feel free to let me know if you encounter any bugs (hopefully, I won't regret saying that :)

 

Hope they help!

 

Dean

--
Dean Wells
MSEtechnology
( Tel: +1 (954) 501-4307
* Email: [EMAIL PROTECTED]
http://msetechnology.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Carlos Magalhaes
Sent: Wednesday, September 10, 2003 7:01 AM
To: '[EMAIL PROTECTED]'
Subject: [ActiveDir] Converting Active Directory 64 Bit Time Values into Date Strings with Perl and general process you can use for other languages

Dean can you please share these with us?

-----Original Message-----
From: Dean Wells [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 06, 2003 2:12 AM
To: AD mailing list (Send)
Subject: RE: [ActiveDir] Converting Active Directory 64 Bit Time Values into Date Strings with Perl and general process you can use for other languages

In addition to Joe's insight, both Windows XP and Server 2003 (but not 2000)
include a command line tool that produces the same end result -

C:\>w32tm /ntte 127000000000000000
146990 17:46:40.0000000 - 6/13/2003 1:46:40 PM (local time)

In addition (and as recently referenced in the public newsgroups), I wrote a
script (no non-native or 3rd party additions required) some time back that
can be glued into AD U&C to provide a simple context sensitive query to
discover (for example) all accounts that will expire prior to a supplied
date.

Thanks for the Perl snippet!

Dean

--
Dean Wells
MSEtechnology
* Tel: +1 (954) 501-4307
* Email: [EMAIL PROTECTED]
http://msetechnology.com

 

-------------------------------------------------------------
This email and any files transmitted are
confidential and intended solely for the
use of the individual or entity to which
they are addressed, whose privacy
should be respected.  Any views or
opinions are solely those of the author
and do not necessarily represent those
of the Trencor Group, or any of its
representatives, unless specifically
stated.  

Email transmission cannot be guaranteed
to be secure, error free or without virus
contamination.  The sender therefore
accepts no liability for any errors or
omissions in the contents of this message,
nor for any virus infection that might result
from opening this message.  Trencor is not
responsible in the event of any third party
interception of this email.   

If you have received this email in error please notify
[EMAIL PROTECTED]   For more information about
Trencor, visit www.trencor.net <http://www.trencor.net>

Reply via email to