EE MR for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7147. It adds the skip_ldap param for
skip_ldap