For Maya Spot Lights, Directional Lights, and Point Lights, there is a Shadows subsection in the mental ray section of the light’s Attribute Editor. You can select the desired shadow map from the Shadow Map Format drop-down box so that mental ray generates shadow maps.