Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 502684

Summary: ipa user-mod --uid gives a 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
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:32:36 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    

Description Michael Gregg 2009-05-26 22:47:34 UTC
Description of problem:
running "ipa user-mod --uid=<number>" gives a internal error

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

How reproducible:
always

Steps to Reproduce:
1. kinit as admin
2. create user1
3. ipa user-mod --uid=777 user1
  
Actual results:
[root@iparhel5-vma ~]# ipa user-mod --uid=2222 hh
ipa: ERROR: an internal error has occurred

Comment 1 Pavel Zuna 2009-11-20 15:55:30 UTC
To handle simultaneous modify operations better, we normally generate MOD_DELETE + MOD_ADD operation instead of MOD_REPLACE. Unfortunately, this doesn't work for UID/GID and the likes.

We can now define a list of attributes in ldap2 for which MOD_REPLACE operations are used.

master: 91d01a532af3c4668eabcb1a27d3d3f36b0e6207
Introduce a list of attributes for which only MOD_REPLACE operations are generated.