Bug 498547 - trying to define a numeric uid with ipa user-add produces internal error
Summary: trying to define a numeric uid with ipa user-add produces internal error
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-admintools
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 431020
TreeView+ depends on / blocked
 
Reported: 2009-05-01 00:23 UTC by Michael Gregg
Modified: 2015-01-04 23:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-28 09:31:56 UTC
Embargoed:


Attachments (Terms of Use)
convert uidnumber to a string before sending to LDAP (1.23 KB, patch)
2009-05-04 20:30 UTC, Rob Crittenden
no flags Details | Diff

Description Michael Gregg 2009-05-01 00:23:47 UTC
Description of problem:
trying to define a numeric uid with ipa user-add produces internal error

Version-Release number of selected component (if applicable):
ipa-server-2.0-2.20090428.el5ipa

How reproducible:
always

Steps to Reproduce:
1.ipa user-add --uid=332 uf
  
Actual results:
ipa user-add --uid=332 uf
first: ss
last: ee
ipa: ERROR: an internal error has occured

Expected results:
uid's to be numeric

Comment 4 Rob Crittenden 2009-05-04 20:30:16 UTC
Created attachment 342376 [details]
convert uidnumber to a string before sending to LDAP

The write was failing with this error:

TypeError: ('expected a string in the list', 332)


Note You need to log in before you can comment on or make changes to this bug.