
This is teritorial scent marking, and it started because he reached puberty. He is putting his scent down in inappropriate places.
Many male dogs do this unfortunately if they need to boost their self esteem, there is a rival male, a bitch in season somewhere etc.
Castration usually does lessen the sexual need to do this, but I have had castrated males to visit who still cok their legs in my kitchen to put their smell over the resident canines I assume (I own only bitches), this is the reason I will only mind friends female dogs!
My friends dobie male in adolescnce was terrible for this, he in fac t blew all the elecrics when he peeded into a wall socket!
She resorted to crateing him for a couple of weeks any time she could not watch him and as she works full time this meant he wqas crated for a couple of hours at a time, I would go in and let him out and play with him several times a day. This coupled with vigilance and telling him no sternly when he was thinking about lifting, and keeping him crated at night for the next few months did the trick.
I wopuld keep him confined to easily washed areas of the house. Wash any annointed places with biological washing powder, which breaks down the smell, and then wipe over with a solution of bicarbonate of soda or vinegar, bioth excellent odur neutralisers (if you don't mind the place smelling like chip supper, :D)