Can not add new user to the LDAP

Bug #669071 reported by Arie Skliarouk
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
luma (Ubuntu)
Confirmed
Undecided
phobie

Bug Description

Binary package hint: luma

Version: 2.4

Use plugin "usermanagement", press "Add" button, Observe the "Please select the location where the new account should be stored".
On my server the people are stored at the following subtree:
ou=People,dc=mygreatcompany,dc=com@mail

But when I select the subtree, so that the Location shows the aforementioned DN, and press "Next", nothing happen.

If logging window is enable the following message appears in it:

14:25:43 An unhandled exception occured. This is most likely a bug
in the programming of Luma. In order to fix this, send an email with the
following text and a detailed description of what you were doing to
<email address hidden>.
  File "/usr/lib/luma/plugins/usermanagement/AccountWizard.py", line 251, in checkNext
    dataObject.addAttributeValue('uidNumber',[nextfreeuid])
  File "/usr/lib/luma/base/backend/SmartDataObject.py", line 246, in addAttributeValue
    attributeName = self.attributeMap[attributeName.lower()]
Reason: <type 'exceptions.KeyError'> 'uidnumber'

Tags: maverick
description: updated
Revision history for this message
uwe (maabdulhaq) wrote :

I'm facing the same issue:

06:25:43 An unhandled exception occured. This is most likely a bug
in the programming of Luma. In order to fix this, send an email with the
following text and a detailed description of what you were doing to
<email address hidden>.
  File "/usr/lib/luma/plugins/usermanagement/AccountWizard.py", line 251, in checkNext
    dataObject.addAttributeValue('uidNumber',[nextfreeuid])
  File "/usr/lib/luma/base/backend/SmartDataObject.py", line 246, in addAttributeValue
    attributeName = self.attributeMap[attributeName.lower()]
Reason: <type 'exceptions.KeyError'> 'uidnumber'

06:25:45 An unhandled exception occured. This is most likely a bug
in the programming of Luma. In order to fix this, send an email with the
following text and a detailed description of what you were doing to
<email address hidden>.
  File "/usr/lib/luma/plugins/usermanagement/AccountWizard.py", line 247, in checkNext
    tmp = usedUserIDs[len(usedUserIDs)-1] + 1
Reason: <type 'exceptions.TypeError'> cannot concatenate 'str' and 'int' objects

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in luma (Ubuntu):
status: New → Confirmed
Revision history for this message
phobie (phobie) wrote :

Upstream fixed this exception but it is still impossible to add new users.
We should close this bug and open a new one.

Changed in luma (Ubuntu):
assignee: nobody → phobie (phobie)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.