Being real is, like, the number one job qualification today - not something to be avoided at all cost.
Does it take maturity to be friends with people in your congregation? Yes. But if you're not mature enough to manage it, maybe you should think about another line of work. Will it demand maturity from people in your congregation? Yes. But few things are as gross about church life than the patronizing tendency of pastors to treat their parishioners like children. Are there dangers? Yes. The main danger is that you will be a different person because of the relationships you develop. If you let people see you - really see you - and give them permission to call you out when you're being stupid, scared, or self-centered - you'll be transformed by the experience. Of course, you'll also be a better pastor. And you'll help create a culture where everybody is expected and encouraged to grow spiritually, emotionally, and every which way.
An interesting post about the maturity to be authentic and the challenge of living in a very public world. And frankly, this applies to everyone, not just pastors, I'd say