Joan,

Re: the url attribute not being updated... That's a mystery. I would check
to make sure that your code is updating it with a new (not the same) value.
I can't imagine that there would be a bug of that magnitude in the Directory
SDK. Is there any consistency as to when the url attribute is updated and
when it is not? Perhaps it fails on certain object classes or in certain
OUs? In that case it might be an access rights or content rules issue. But
in those cases you should still get an exception...

-gil

-----Original Message-----
From: Jonas Almfeldt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 10:02 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] Problem updating object attributes in Active Dire
ctory -Using Directory SDK


On Tue, 1 Apr 2003, Gil Kirkpatrick wrote:

Hi Gil,

> Hi Jonas,
> 
> I don't have any experience with Java and AD, but I can give some 
> sugestions.
> 
> 1. Doing an LDAP_MOD on a value to replace it with the same value does 
> not actually change anything; AD throws the operation out, no 
> timestamps are updated, and no replication takes place.

Hmm, that explains why whenChanged does not change.
However, it does not explain why the 'url' attribute sometimes doesn't get 
updated when I set its value to the current date & time manually..
 
> 2. Do you have more than one DC? If so, you may be making the change 
> on one DC and looking for the results on another DC. If replication 
> hasn't taken place, you will see inconsistent results.

We only have one DC in our lab environment.

> 3. You might check the following MSDN article on strategies for 
> synchronizing AD with other data stores: 
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdi
> r/ad/t
> racking_changes.asp?frame=true

Will do. Thanks!

> What's the point of forcing an update of all objects every night? It 
> seems that would generate a lot of unnecessary processing.

Well.. that can be discussed. But it is a working strategy to be 
able to delete/move group objects that has not been touched for a couple 
of days = they don't exist in the source database any more.

Thanks for your help!

/ Jonas

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to