I'm getting a permission denied error when trying to authenticate a user, the djano_auth_kerberos package that I've used makes use of the kerberos package. The authentication breaks at checkPassword. Any ideas why this issue might be coming?
from django.conf import settings
from django_auth_kerberos.backends import KrbBackend
kerb = KrbBackend()
result = kerb.authenticate(settings.KRB5_TEST_USER,settings.KRB5_TEST_PASSWORD)
Failure during authentication
Traceback (most recent call last):
File "/var/www/adlm_python/venv/lib/python3.4/site-packages/django_auth_kerberos/backends.py", line 60, in check_password
kerberos.checkPassword(username.lower(), password, getattr(settings, "KRB5_SERVICE", ""), getattr(settings, "KRB5_REALM", ""), getattr(settings, "KRB5_VERIFY_KDC", True))
kerberos.BasicAuthError: ('Permission denied', 13)
I'm getting a permission denied error when trying to authenticate a user, the djano_auth_kerberos package that I've used makes use of the kerberos package. The authentication breaks at checkPassword. Any ideas why this issue might be coming?
Here is my settings.py file: