The 3E Main FAQ addressed this.
I don't actually like some of its assumptions (for instance, that geas does not constitute ongoing control), but here you go:
The second function of the protection from evil spell
blocks any attempt to possess the warded creature or to
exercise mental control over the creature. What, exactly,
counts as mental control?
“Mental control” includes all spells of the school of
Enchantment that have the Charm subschool, such as animal
friendship, charm person, and charm monster. It also includes
some Enchantment spells of the Compulsion subschool if those
spells grant the caster ongoing control over the subject; such
spells include dominate person and dominate monster.
Compulsions that merely dictate the subject’s action at the time
the spell takes effect are not blocked. Such spells include
command, hold person, geas/quest, hypnotism, insanity, Otto’s
irresistible dance, random action, suggestion, and zone of
truth.
Would a protection from evil spell block mind-affecting
spells that aren’t from the Enchantment school, such as
cause fear, create undead, gate, hypnotic pattern, mount,
rainbow pattern, sanctuary, and summon monster?
No, see previous question.
-Hyp.