Updated AD#load and AD#sync logic.
authorShaun Rowland <rowland@shaunrowland.com>
Tue, 16 Jun 2009 06:15:22 +0000 (02:15 -0400)
committerShaun Rowland <rowland@shaunrowland.com>
Tue, 16 Jun 2009 06:15:22 +0000 (02:15 -0400)
commit22f2bc189dc86ca580b7c1cfcbae3cdb759ce818
treea127e3e3b5316697548a1c04d9248d696143be1e
parentf150216def6b4de2af37b9bac63a92bf0bac685f
Updated AD#load and AD#sync logic.

It is now possible to load multiple times. Anything previously loaded will
be ignored. Calling AD#sync is smoother and safe (which is probably was before)
to call more than once. There is logic to destroy things that were removed
from Active Directory properly. The set_loaded() methods were updated so they
can be called after an initial load and do the same thing. The set_loaded
methods are not meant to be called by the consumer, but they need to be there
for the AD object.
.gitignore
lib/radum/ad.rb
lib/radum/container.rb
lib/radum/group.rb
lib/radum/user.rb