I had Komondors. They are a lot less social than Pyrenees which is why early socialization was so very important. Otherwise, they were as likely to take a chunk out of guests as not.
It is a little late, but I think you need to work on socializing the dog. You also might try introducing the dog to guests, like you would to another person, so the dog knows they belong there.