actual sync_required check is added

now server side receives last_sync_time from client and looks for
recent updates in LDAP, then responds to client accordingly.