Proposded fix for HUE-1767
Review Request #3877 - Created Dec. 2, 2013 and submitted
|abec, enricoberti, romain|
Proposed fix for HUE-1767, just a quick if statement change.
Tested and confirmed it resolves the issue in HUE-1767 and that non-posix ldap works still.