A lamp and socket assembly includes a lamp assembly including a lamp
holder having an end panel, and a housing having a lamp side and a wire
side. The lamp side includes a lamp receptacle. The lamp holder is
received in the lamp receptacle. A channel is formed in the lamp
receptacle. The channel includes opposed side walls, and each side wall
has an engagement surface. The engagement surfaces engage side edges of
the end panel to retain the lamp assembly in the lamp receptacle. A
method for sealing the wiring cavity in a lamp socket includes
fabricating the lamp socket with a passageway between the wiring cavity
and the lamp side of the socket housing, positioning the socket housing
on a non-adhering surface with the lamp side facing upward such that the
wiring cavity is blocked by the non-adhering surface, introducing a
potting compound into the wiring cavity from the lamp side of the socket
housing through the passageway, and removing the socket housing from the
non-adhering surface after the potting compound has hardened.