Bug 498547

Summary: trying to define a numeric uid with ipa user-add produces internal error
Product: [Retired] freeIPA Reporter: Michael Gregg <mgregg>
Component: ipa-admintoolsAssignee: Rob Crittenden <rcritten>
Status: CLOSED UPSTREAM QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: benl, dpal, mgregg
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-28 09:31:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 431020    
Attachments:
Description Flags
convert uidnumber to a string before sending to LDAP none

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)