Ticket #751 (closed defect: fixed)
User entity provisioning via inventory broken
| Reported by: | jb@… | Owned by: | oroussy |
|---|---|---|---|
| Priority: | Normal | Milestone: | 1.2.5 |
| Component: | python-mmc-inventory | Version: | 1.2.3 |
| Severity: | Minor | Keywords: | |
| Cc: |
Description
When provisioning user entities via the inventory, any login attempt will fail with a backtrace like:
File "/var/lib/python-support/python2.5/mmc/plugins/inventory/provisioning.py", line 65, in doProvisioning
userentry = authtoken.getInfos()[1]
exceptions.IndexError: list index out of range
As it happens, line 65 should actually read:
userentry = authtoken.getInfos()[0][1]
And then it works. Note the externalldap provisioning code suffers from the same bug, from a quick grep.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

