It may take awhile for her to feel safe. Go with her to school. Spend time with the teacher and your daughter in the classroom. I would never allow a child to cry for more than a parting sob. A creative and compassionate teacher will know how to nurture your little girl and re-direct her into the wonderland of opportunity that awaits her in the classroom.
Every child is so unique regarding the adaption process.
Some children run right into the classroom and get interested in an activity and wait to get to know the adults in their environment. It saddens me that your little girl's first school experience was not a positive one. My hope is that your child's prospective teacher will offer guidance and tender care in re-introducing your daughter to a new school environment. It may take awhile for her to feel safe. Go with her to school.