larrabee / freeipa-password-reset

Self-service password reset app for FreeIPA
GNU General Public License v3.0
88 stars 30 forks source link

Error Message "Cannot retrieve Kerberos ticket" #24

Closed kbetsis closed 4 years ago

kbetsis commented 4 years ago

Hi

I've followed the exact same guidelines as to enable the reset page however, i am getting an error on every attempt for all users as shown below.

image

Is there a way i can resolve this?

larrabee commented 4 years ago

Hello. Check that keytab file exists and have right permissions (by default it should have path /opt/data/IPAPasswordReset/ldap-passwd-reset.keytab.)

kbetsis commented 4 years ago

Hi

I have it in the default path and it is populated Kindly see below:

drwxr-xr-x. 3 ldap-passwd-reset ldap-passwd-reset 30 Nov 13 19:01 .. -rw-r--r--. 1 ldap-passwd-reset ldap-passwd-reset 88 Nov 13 19:01 .gitignore -rw-r--r--. 1 ldap-passwd-reset ldap-passwd-reset 35141 Nov 13 19:01 LICENSE -rw-r--r--. 1 ldap-passwd-reset ldap-passwd-reset 304 Nov 13 19:01 requirements.txt -rw-r--r--. 1 ldap-passwd-reset ldap-passwd-reset 4308 Nov 13 19:01 README.md drwxr-xr-x. 4 ldap-passwd-reset ldap-passwd-reset 73 Nov 13 19:01 PasswordReset drwxr-xr-x. 2 ldap-passwd-reset ldap-passwd-reset 103 Nov 13 19:01 service drwxr-xr-x. 8 ldap-passwd-reset ldap-passwd-reset 163 Nov 13 19:01 .git drwxr-xr-x. 5 ldap-passwd-reset ldap-passwd-reset 82 Nov 13 19:01 virtualenv drwxr-xr-x. 6 ldap-passwd-reset ldap-passwd-reset 178 Nov 13 19:34 . -rw-------. 1 root root 184 Nov 13 19:34 ldap-passwd-reset.keytab`

kbetsis commented 4 years ago

False alarm i changed the owner to ldap-passwd-reset and it's OK now.

Sorry for the trouble and thanks for the help