This happened to us, 7 years ago!
We called some good friends who lived 400 miles away, to tell them our ds had been born. His name is Aidan. We chose it for many reasons, we like the meaning, it has links with Iona and Lindisfarne, 2 of our most fave places, etc etc ....
When we called them, she just went quiet.
Then said "that's the name we liked".
I said "cool! 2 Aidans. 400 miles apart, thats lovely!"
She went ahead and called her ds Aidan too.
Since then, due to divorce etc, she has moved a lot closer to us - and the 2 Aidans are friends. They LOVE the fact that they share a name. She is a good enough friend that I think the boys will see each other until they are at least 18.
No-one who is a good friend would really bother about this. So what if they have a friend with the same name. When they go to school, this could well happen anyway (dd1 is Katherine - I didn't know any others till she went to a big city primary for P2 and ended up one of many!!)