02strich / django-auth-kerberos

Kerberos authentication backend for Django
MIT License
19 stars 12 forks source link

"No such file or directory" for unknown reason #11

Open 02strich opened 7 years ago

02strich commented 7 years ago

Migrated from https://github.com/02strich/pykerberos/issues/24

I'm getting this:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/django_auth_kerberos/backends.py", line 51, in check_password
    kerberos.checkPassword(username.lower(), password, getattr(settings, "KRB5_SERVICE", ""), settings.KRB5_REALM)
kerberos.BasicAuthError: ('No such file or directory', 2)

1.1.5 runs fine, 1.1.6 has the error from #12 which is fixed in 1.1.10, which shows this error here. KRB5_SERVICE is empty, but, as i said, 1.1.5 runs fine.