{"action":"closed","issue":{"url":"https://api.github.com/repos/etianen/django-python3-ldap/issues/22","labels_url":"https://api.github.com/repos/etianen/django-python3-ldap/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/etianen/django-python3-ldap/issues/22/comments","events_url":"https://api.github.com/repos/etianen/django-python3-ldap/issues/22/events","html_url":"https://github.com/etianen/django-python3-ldap/issues/22","id":103498524,"number":22,"title":"Force auto_bind to be AUTO_BIND_NONE","user":{"login":"meric","id":374396,"avatar_url":"https://avatars.githubusercontent.com/u/374396?v=3","gravatar_id":"","url":"https://api.github.com/users/meric","html_url":"https://github.com/meric","followers_url":"https://api.github.com/users/meric/followers","following_url":"https://api.github.com/users/meric/following{/other_user}","gists_url":"https://api.github.com/users/meric/gists{/gist_id}","starred_url":"https://api.github.com/users/meric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meric/subscriptions","organizations_url":"https://api.github.com/users/meric/orgs","repos_url":"https://api.github.com/users/meric/repos","events_url":"https://api.github.com/users/meric/events{/privacy}","received_events_url":"https://api.github.com/users/meric/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-27T12:36:44Z","updated_at":"2015-09-29T08:51:29Z","closed_at":"2015-09-29T08:51:29Z","body":"In ldap.py, There's a bit of code that forces the use of auto_bind if user_identifier is present. (Which it will be given it's called in the authenticate method, where the username/email/id must always be given, and this is passed through to connection). I'm encountering a server that will not let me connect unless `auto_bind=AUTO_BIND_NONE`. Is there a workaround for this issue? \r\n```\r\nif user_identifier:\r\n        if settings.LDAP_AUTH_USE_TLS:\r\n            auto_bind = ldap3.AUTO_BIND_TLS_BEFORE_BIND\r\n        else:\r\n            auto_bind = ldap3.AUTO_BIND_NO_TLS\r\n    else:\r\n        auto_bind = ldap3.AUTO_BIND_NONE\r\n```"}}