Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] Custom date/time attributes in AD/ADAM schema
Prev Next
You are not authorized to post a reply.

AuthorMessages
MrOteeceUser is Offline

Posts:0

02/03/2006 7:28 AM  
Message body was not found.
listmailUser is Offline

Posts:824

02/03/2006 11:11 AM  
FUN!

The int8 attributes don't have anything to mark them as
time stamps or time deltas, you have to hardcode the attribute names into the
applications. That is how adfind does it for those and how LDP does it for those
as well as GUIDs and other attributesΏ].

In terms of working with internally, that is by far the
easiest format in my opinion, just keep it UTC. For people to read it isn't so
nice. In that case you may want to instead use a Generalized-Time syntax
(attribsyntax 2.5.5.11 / OMsyntax 24) which can be read by a human without too
much pain. It is the ZULU format that you see with whenChanged, whenCreated, etc
and programs that want to translate it can easily recognize it. It just has to
always specify a time, it can't be an offset like the int8's are used to do like
with the domain policy values, etc. Oh searching for a range of values is a
little easier (or maybe I should just say more intuitive) with int8 as well
versus searching Generalized-Time.

   joe


Ώ] I figured out a generic way to handle GUIDs that
usually correct.  


--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 


From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Mr
OteeceSent: Friday, February 03, 2006 2:27 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [ActiveDir] Custom date/time
attributes in AD/ADAM schema
Any recommendations out there for storing a custom timestamp in
AD/ADAM? I created an attribute with the same syntax as the existing time
formats (e.g. pwdLastSet), and I can recover the date/time easily enough in
code. However, LDP doesn't show the new attribute as a date/time, just as the
large integer. Is there any way to specify how that attribute should be
interpreted or are those just built into LDP? Or do people just use a string
format?
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] Custom date/time attributes in AD/ADAM schema



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:rana.b4523
New TodayNew Today:1
New YesterdayNew Yesterday:1
User CountOverall:5291

People OnlinePeople Online:
VisitorsVisitors:33
MembersMembers:0
TotalTotal:33

Online NowOnline Now:

Ads

Copyright 2012 ActiveDir.org
Terms Of Use