Merge pull request #4 from wagnerand/master

Fixed ldap search_mode_2