N.Y. Partnership Law § 115-C
3. The indemnification authorized under subdivision two of this section shall in no case include
5. Except as provided in subdivision four of this section, any indemnification under subdivision two, unless ordered by a court under subdivision six, shall be made by the limited partnership only if authorized in the specific case
6.
(a) Notwithstanding the failure of the limited partnership to provide indemnification, and despite any contrary determination by the general partners, indemnification shall be awarded by a court to the extent authorized under subdivisions two and four of this section. Application therefor may be made, in every case, either
9. No indemnification, advancement or allowance shall be made under this section in any circumstance where it appears