In the Vajrayana Buddhist order, the samaya vows are given by the guru, who must keep them as well. Breaking the samaya vows is worse than breaking any other laws. Breaking a samaya results in a heavy bad karma, especially if one disregards or dislikes his guru, the one who gave the teachings. Although there are three root samayas, some say that there is only one - the guru. One only has to keep the guru and that is it - that is how important the guru is.
There are 14 root samaya downfalls outlined by Sakya Pandita, an important Buddhist scholar. These points describe the behaviors that can break the samaya. First is disregarding the master, others include important behaviors linked to the three root samayas, such as disrespecting one's own body, having bad company, denigrating women, revealing the secrets or abandoning love.
Samaya vows can be seen in yoga as well. The principle of respecting the teacher, keeping respect toward one's own body and bodies of the fellow yogis, and practicing meditation are rules that should be followed by every yogi. The rest of the samaya vows is very similar to the yamas and niyamas outlined in the Yoga Sutras of the great sage Patanjali.