An extracellular β-N-acetylhexosaminidase of Medicago truncatula hydrolyzes chitooligosaccharides and is involved in arbuscular mycorrhizal symbiosis but not required for nodulation.