Certain breeds such as miniature Schnauzers are more predisposed to excessively oily skin, resulting in a unique smell and greasy feel when touched.
This can be treated with certain shampoos and topical medications.
When in doubt, if you notice that your dog is starting to smell, start with a bath.