Resolves: bug 478656
Bug Description: rhds accounts are disabled in ad after full sync
Reviewed by: ???
Files: see diff
Fix Description: The incremental sync code calls
send_accountcontrol_modify after adding an entry, but the total update
code does not. I modified the code to do that. I also changed the
send_accountcontrol_modify to force the account to be enabled if adding
it. I tried just adding userAccountContro:512 to the default user add
template, but AD does not like this - gives operations error. So you
have to modify userAccountControl after adding the entry. I also
cleaned up a couple of minor memory leaks.
Platforms tested: RHEL5
Flag Day: no
Doc impact: no