Bug 1285852

Summary: sssd: [sysdb_add_user] (0x0400): Error: 17 (File exists)
Product: Red Hat Enterprise Linux 6 Reporter: Jakub Hrozek <jhrozek>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.8CC: ekeck, grajaiya, jhrozek, jkurik, kbanerje, ksiddiqu, lslebodn, mkosek, mzidek, nsoman, pbrezina, preichl, sbose, sgoveas, sssd-maint, sumenon
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sssd-1.13.2-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1283592
: 1290456 (view as bug list) Environment:
Last Closed: 2016-05-10 20:25:14 UTC Type: Bug
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: 1283592    
Bug Blocks: 1284814, 1290456    
Attachments:
Description Flags
sssd logs none

Comment 7 Sudhir Menon 2016-03-02 08:42:50 UTC
Verified the bug using  

RHEL6.8 client
ipa-client-3.0.0-50.el6.x86_64
sssd-ipa-1.13.3-15.el6.x86_64

RHEL7.2 IPA Server
ipa-server-4.2.0-15.el7_2.3.x86_64
sssd-1.13.0-40.el7_2.1.x86_64

Observations:-
1. when you run 'id username' command on the IPA server first and then run it on IPA client, the 'id username' command displays output on the ipaclient.
2. 'no such user' is displayed if the 'id username' command is run on the ipaclient first. Is this expected ? 

Attaching the logs for reference which shows 'Error 17' when the id command is run on client.

Comment 8 Sudhir Menon 2016-03-02 08:43:53 UTC
Created attachment 1132172 [details]
sssd logs

Comment 10 Sudhir Menon 2016-03-03 10:51:33 UTC
Observations:-

After running the below command on IPA-Server and IPA-client, the issue mentioned in comment #7 is not seen. Also Error 17 is not seen in the logs.

#service sssd stop; rm -rf /var/lib/sss/{db,mc}/*; service sssd start

RHEL6.8 client
ipa-client-3.0.0-50.el6.x86_64
sssd-ipa-1.13.3-15.el6.x86_64

RHEL7.2 IPA Server
ipa-server-4.2.0-15.el7_2.3.x86_64
sssd-1.13.0-40.el7_2.1.x86_64

Comment 12 errata-xmlrpc 2016-05-10 20:25:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0782.html