We have three domain controllers (DCs). As expected, I have three
different uSNCreated values. For the last few years, we have created
our accounts on a single particular DC. This is controlled by my code
that creates the accounts. Therefore, I feel a bit better about using
uSNCreated, but it is still just not quite right.
I have a suggestion even though it's not the perfect solution. You can
concatenate the DC's uSNCreated value to the object's uSNCreated value.
For example:
DC uSNCreated = 12334
Object uSNCreated = 29721
Since the "combination" of these values will always be unique, you could
just use "12334-29721" as your unique identifier.
When querying LDAP, however, you will need to cross-reference the DC's
uSNCreated value to make sure you are querying the correct DC. Then,
you can perform an LDAP query using the object's uSNCreated value to put
it all back together.
Or, Adobe could just fix the damn bug! ;^)
M!ke
-----Original Message-----
From: Brian Dumbledore [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 5:36 PM
To: CF-Talk
Subject: Re: how to retrieve objectguid (LDAP) in a legible format
Here is what I found after a bit of searching on the web.. Instead of
using objectGuid to be the unique id, you can use another id,
"usnCreated" which is not binary but just a 64bit integer value. However
the catch is,
usnCreated is like a autoincrement value which is unique for one domain
controller. Meaning if your AD environment has more than one domain
controller, then you will have two sets of usncreated "spaces", and
these might have duplicate values.
In my environment I have only one dc but I am hesitant to use usncreated
since don't know what will happen in the future..
What do you'll think I should do???
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244825
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54