From: [EMAIL PROTECTED] on behalf of joe
Sent: Thu 2006-09-21 03:36
To: [email protected]
Subject: RE: [ActiveDir] Replication Metadata
;o) that would do it.
--
O'Reilly Active
Directory Third Edition -
http://www.joeware.net/win/ad3e.htm
-----Original
Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Isenhour, Joseph
Sent: Wednesday, September 20, 2006 4:46
PM
To: [email protected]
Subject: RE: [ActiveDir] Replication
Metadata
Nevermind, I guess I should learn to spell the attribute name
correctly.
Works great, Thanks!
-----Original
Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Isenhour,
Joseph
Sent: Wednesday, September 20, 2006 8:44
AM
To: [email protected]
Subject: RE: [ActiveDir] Replication
Metadata
Ok for some reason ADSI doesn't seem to like this
attribute. I've tried
_vbscript_ and System.DirectoryServices.
In
_vbscript_:
meta = group.GetEx("ms-DSReplValueMetaData")
In
C#:
string[] meta
=
(string[])group.Properties["ms-DSReplValueMetaData"].Value;
The line
in _vbscript_ throws an error saying it can't be found in the dir
cache.
The C# line doesn't throw an error but does not give me the
xml
either.
I used dsquery against the same group and it gave me the
xml.
Can you see what I'm doing
wrong?
Thanks
-----Original Message-----
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of joe
Sent: Thursday, September 14, 2006 6:31 PM
To:
[email protected]
Subject: RE: [ActiveDir] Replication
Metadata
Yep, if _vbscript_ you want the XML versions...
You should
be able to do this in an hour.... You just need to pick the
right
hour.
;o)
--
O'Reilly Active Directory Third Edition -
http://www.joeware.net/win/ad3e.htm
-----Original
Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Isenhour,
Joseph
Sent: Thursday, September 14, 2006 9:12
PM
To: [email protected]
Subject: RE: [ActiveDir] Replication
Metadata
That's great info; thanks joe. I'll take a look
at
msDS-ReplValueMetaData and msDS-ReplAttributeMetaData. I'm trying to
do
this in a _vbscript_ and avoid getting into any compiled solutions.
I
told my boss I could do this in an hour because I thought I could
just
use IADsTools, oopsie.
-----Original Message-----
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of joe
Sent: Thursday, September 14, 2006 5:38 PM
To:
[email protected]
Subject: RE: [ActiveDir] Replication
Metadata
I doubt that IADsTools was updated. They seemed to be trying to
kill
that as
far back as 2001. I think it was someone's pet project and
they went to
another petting zoo to work... I know I found some time issues
in it
back
then and some more later that I tried to get corrected and was
wholly
unsuccessful on both occasions.
But the answer is... There is
additional metadata available now for
looking
at value level changes. The
way IADsTools was probably getting the info
(this is a guess, never saw the
code) is through the attribute
replPropertyMetaData but it very well could
have been using the RPC
based
API call DsReplicaGetInfo.
Probably
the simplest mechanism to use now are the
attributes
msDS-ReplAttributeMetaData and msDS-ReplValueMetaData which by
default
will
return XML strings with the data. If you are equipped to
handle it, you
can
instead make the calls much faster and pass less data
on the wire by
asking
for the binary versions of those attributes by
appending the ;binary
modifier.
If you want to write DC API based
code, you can use DsReplicateGetInfo2.
joe
--
O'Reilly Active Directory Third Edition -
http://www.joeware.net/win/ad3e.htm
-----Original
Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Isenhour,
Joseph
Sent: Friday, September 08, 2006 11:36
AM
To: [email protected]
Subject: [ActiveDir] Replication
Metadata
I'm using Robbie Allens example for using IADSTools.DCFunctions
to read
group object meta data. I just realized that now that we've
upgraded to
2003 I can no longer look at the member last changed field to
determine
when group membership last changed.
I know that RepAdmin can
look at the individual group changes so there
must be some updated API that I
can use to do the same thing, I just
can't seem to find it.
Can anyone
point me in the right direction?
Thanks
List info : http://www.activedir.org/List.aspx
List
FAQ : http://www.activedir.org/ListFAQ.aspx
List
archive: http://www.activedir.org/ml/threads.aspx
List
info : http://www.activedir.org/List.aspx
List
FAQ : http://www.activedir.org/ListFAQ.aspx
List
archive: http://www.activedir.org/ml/threads.aspx
List
info : http://www.activedir.org/List.aspx
List
FAQ : http://www.activedir.org/ListFAQ.aspx
List
archive: http://www.activedir.org/ml/threads.aspx
List
info : http://www.activedir.org/List.aspx
List
FAQ : http://www.activedir.org/ListFAQ.aspx
List
archive: http://www.activedir.org/ml/threads.aspx
List
info : http://www.activedir.org/List.aspx
List
FAQ : http://www.activedir.org/ListFAQ.aspx
List
archive: http://www.activedir.org/ml/threads.aspx
List
info : http://www.activedir.org/List.aspx
List
FAQ : http://www.activedir.org/ListFAQ.aspx
List
archive: http://www.activedir.org/ml/threads.aspx
List
info : http://www.activedir.org/List.aspx
List
FAQ : http://www.activedir.org/ListFAQ.aspx
List
archive: http://www.activedir.org/ml/threads.aspx
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
