Required for the synthesis of autoinducer molecules which bind to RaiR and that are involved in the restriction of nodule number. a fatty acyl-[ACP] + S-adenosyl-L-methionine = an N-acyl-L-homoserine lactone + H(+) + holo-[ACP] + S-methyl-5'-thioadenosine Belongs to the autoinducer synthase family.