From what I can find online, beans are fine for dogs, but they still need meat as beans do not provide the correct amount of protein needed for good health.Lentils are recommended as a good source of protein for dogs
A List of Table Foods to Feed a Dog | eHow.com