A multi-component attachment system, including a first clamp that attaches to a bed-rail, and a second component which connects to a lighting system or other accessory, allows a sterile drape to go over the bed-rail attachment, while allowing a lamp or other accessory to magnetically attach through the drape, thereby preventing interruption of the sterile field.