Use adtool to generate AD config