#4354 Internal error: krbtpolicy-show username
Closed: Fixed None Opened 7 years ago by pvoborni.

While authenticated as non-admin user:

 ipa: DEBUG: krbtpolicy_show(None, rights=False, all=False, raw=False)
 ipa: ERROR: non-public: KeyError: 'krbmaxticketlife'
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 343, in wsgi_execute
     result = self.Command[name](*args, **options)
   File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 436, in __call__
     ret = self.run(*args, **options)
   File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 752, in run
     result = self.execute(*args, **options)
   File "/usr/lib/python2.7/site-packages/ipalib/plugins/baseldap.py", line 1256, in execute
     self, ldap, entry_attrs.dn, entry_attrs, *keys, **options)
   File "/usr/lib/python2.7/site-packages/ipalib/plugins/krbtpolicy.py", line 180, in post_callback
     entry_attrs.setdefault(a, res['result'][a])
 KeyError: 'krbmaxticketlife'

master:

  • b22bdfb krbtpolicy plugin: Code cleanup
  • 63a2147 krbtpolicy plugin: Fix internal error when global policy is not readable

Metadata Update from @pvoborni:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 4.0 - 2014/06

5 years ago

Login to comment on this ticket.

Metadata