ADSync can connect to a SQL database and loads accounts into Active Directory.