The System Management Console will allow you to configure and synchronize people and users with Active Directory as described in the "Synchronizing a Community with Active Directory" section of the SMC help file. To automate this process so that it will run on a periodic basis automatically, schedule the ebp_sync_active_directory stored procedure in the database. Note that this will synchronize based off of whatever is configured in the SMC.