It doesn't do the change tracking, except with some special case stuff in terms of how the new security descriptor stuff works. However, ADSI itself might track that for you. Basically, CommitChanges calls SetInfo, so if the underlying IADs is clever enough to not send an LDAP request if there are no mods, then the result is likely no network traffic. Try it with ethereal and see. :)

If I were to guess, my guess would be that if there are no modification operations queued up in the property cache, then no LDAP modification operations would be sent.

It is an interesting question and one that I never really thought much about before, so don't be disappointed when you don't find it discussed in ch 3 or 6. :)

Joe K.

----- Original Message ----- From: "AD" <[EMAIL PROTECTED]>
To: <ActiveDir@mail.activedir.org>
Sent: Tuesday, January 02, 2007 10:30 AM
Subject: RE: [ActiveDir] DirectoryServices vb.net is broken.


Thanks for the explanation Joe. I am currently on chapter three of your book. Can't read it fast enough.

Do you know if 'deUser.commitchanges' is smart enough not to send an update request to AD if the collection is not dirty?

Thanks

Y


List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx

Reply via email to