Man with restraining order turned away from school