Answer
The normal role of the protein is in DNA repair, which system has been hijacked by lambda phage to help in its reproduction.
Work Step by Step
DNA repair can be used for other purposes, which is not surprising since it is related to things like DNA exchange between homologs in meiosis. No wonder that viruses have evolved to take advantage of this system.