Grow DN buffer size

The buffer size seems to be a problem in environments with long names or
environments with non-ASCII characters.
Warn when binddn buffer is too small
Make buffer size error logging consistent

This adds logging of most cases where a defined buffer is not large
enough to hold provided data on error log level.
Fix mapping group member attribute to empty string

This fixes be94912.
Add a test for setting member attribute mapping