Fix for bug#447: Use strncasecmp to extract search scope
for nss_base_* settings
Fix for Bug#448: Skip user/groups with invalid ids
Merge pull request #2 from rhafer/master

Fixes for Bugs#448 and #447