#354 internal error reported with bad input on netgroup-mod
Closed: Fixed None Opened 13 years ago by dpal.


This is easy to reproduce. Looks like another problem with the exc callback handler.

[Mon Oct 11 22:10:18 2010] [error] ipa: INFO: Created connection context.ldap2
[Mon Oct 11 22:10:18 2010] [error] ipa: DEBUG: raw: netgroup_mod(u'findnetgroup', addattr=(u'uidNumber=22222',), all=False, raw=False)
[Mon Oct 11 22:10:18 2010] [error] ipa: INFO: netgroup_mod(u'findnetgroup', addattr=(u'uidNumber=22222',), all=False, raw=False)
[Mon Oct 11 22:10:18 2010] [error] ipa: ERROR: non-public: UnboundLocalError: local variable 'attrs_list' referenced before assignment
[Mon Oct 11 22:10:18 2010] [error] Traceback (most recent call last):
[Mon Oct 11 22:10:18 2010] [error]   File "/usr/lib/python2.6/site-packages/ipaserver/rpcserver.py", line 211, in wsgi_execute
[Mon Oct 11 22:10:18 2010] [error]     result = self.Command[name](*args, **options)
[Mon Oct 11 22:10:18 2010] [error]   File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 401, in __call__
[Mon Oct 11 22:10:18 2010] [error]     ret = self.run(*args, **options)
[Mon Oct 11 22:10:18 2010] [error]   File "/usr/lib/python2.6/site-packages/ipalib/frontend.py", line 674, in run
[Mon Oct 11 22:10:18 2010] [error]     return self.execute(*args, **options)
[Mon Oct 11 22:10:18 2010] [error]   File "/usr/lib/python2.6/site-packages/ipalib/plugins/baseldap.py", line 441, in execute
[Mon Oct 11 22:10:18 2010] [error]     keys, options, e, ldap.get_entry, dn, attrs_list,
[Mon Oct 11 22:10:18 2010] [error] UnboundLocalError: local variable 'attrs_list' referenced before assignment

This is fixed by the patch from ticket 230.

Metadata Update from @dpal:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.0 - 2010/10

7 years ago

Login to comment on this ticket.

Metadata