Rename local_sync_accounts() to local_reset_accounts() and keep it only being used /etc/rc.bootup
Reimplement local_sync_accounts() receiving a list of users and groups to be added and/or deleted
Remove call to filter_configure xmlrpc method from rc.filter_synchronize since it's now called internally from restore_config_section.
On restore_config_section implementation stop copying all content from user/group sections. Instead check for new/modified/deleted items and create necessary arrays to be passed to local_syng_accounts
Add a parameter to filter_configure xmlrpc method to decide when to call a full reset of users/groups using local_reset_accounts()
Related issues
Bug #7469: local_sync_accounts() slowness can trigger GUI/XMLRPC failures with many accounts
Fix #7469
only being used /etc/rc.bootup
groups to be added and/or deleted
rc.filter_synchronize since it's now called internally from
restore_config_section.
from user/group sections. Instead check for new/modified/deleted
items and create necessary arrays to be passed to local_syng_accounts
call a full reset of users/groups using local_reset_accounts()