If you need to fix a lampholder onto wood try this Brass 1/2" Wood Nipple. The idea is that the Brass Wood Nipple is screwed into the wood with just the 1/2" fine thread sticking out. The lampholder is then screwed on and it will then sit flat on the wooden surface.
1/2" fine thread to 7/16" course thread.