I have done it two dif ways:
Clean the barrel & the lug or sight well, wipe the surfaces with a liquid flux, then also wipe a very thin smear of paste flux on them, heat, stick the solder to the edge of the joining parts & let it suck the solder in, keep feeding it til it is full all the way around the joint.
Heat the barrel, not the lug as you will overheat the lug & burn the flux & they won't solder.
Another way is clean as described above, take a pair of clean lineman pliers, cut off a piece of solder about 1/2" long & then smash it flat with the pliers, put the smashed piece of solder between the two pieces being soldered, heat, let the solder melt & bond the two, you are done.
I use Stay-Bright solder, and hole the parts with a piece of bent hacksaw blade & clamp. (Take the rubber tips off the clamps, took photo as a demo) :wink: