Company reference policy

Now I am sure that this effects a number of people... I think that it is so rediculous that a company would not want to give you a recommendation because the company policy does not allow them to. The hr can only confirm start and end dates. I was able to overcome that however maybe other people cannot. I believe that this policy only effects positively on the employer because it almost locks or forces the person to stay there(if you work there for 3-5 years lets say). I want to believe that it is their duty to give a recommendation if you want to leave. What do you ninjas think?