#2874 sssd: [sysdb_add_user] (0x0400): Error: 17 (File exists)
Closed: Fixed Opened by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1283592

Description of problem: "[sysdb_add_user] (0x0400): Error: 17 (File exists)" is
displayed when id command is run on the ipaclient  post ipa-winsync-migrate
Version-Release number of selected component (if applicable):
sssd-1.13.0-40.el7.x86_64
How reproducible:
Always
Steps to Reproduce:
1. Set up winsync replica agreement
ipa-replica-manage connect --winsync --passsync=password
--cacert=/etc/dirsrv/slapd-QE01-TEST/ADCert.cer win-i94qhqmthd4.adlabs.com
--binddn "cn=Administrator,cn=Users,dc=adlabs,dc=com" --bindpw **** -vvv -p
****
2. Ensure users are synced from AD to IPA
3. Now create two way trust with same AD
4. Ensure trust is setup
5. Now run ipa-winsync-migrate
e.g ipa-winsync-migrate --realm=adlabs.com --server=win-i94qhqmthd4.adlabs.com
-v
6. Run id on the IPA-server and it displays the correct output
[root@mac1 sssd]# id aduser04@adlabs.com
uid=291400014(aduser04@adlabs.com) gid=291400014(aduser04@adlabs.com)
groups=291400014(aduser04@adlabs.com),1436800513(domain users@adlabs.com)
7. Run id on the IPA-client
Actual results:
on the IPA-client when the id command is run it displays the below output
[root@mac2 ~]# id aduser04@adlabs.com
id: aduser04@adlabs.com: no such user
Expected results:
id command should display the same output as in IPA-server on the IPA-client
uid=291400014(aduser04@adlabs.com) gid=291400014(aduser04@adlabs.com)
groups=291400014(aduser04@adlabs.com),1436800513(domain users@adlabs.com)
Additional info:
Fix is seen in scratch build given by Sumit.

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
milestone: NEEDS_TRIAGE => SSSD 1.13.3
owner: somebody => sbose
review: True => 0
selected: =>
testsupdated: => 0

Fields changed

patch: 0 => 1

  • master: aedc71fe8360a51785933523f14bb5c4e7e2c38b
  • sssd-1-13: 957ec390252128d89479606341ebd7f4f35d785f

resolution: => fixed
status: new => closed

sssd-1-12:

  • cd126cd5dd82b62b6303bfbc5ab3cbf859fc5245

Metadata Update from @jhrozek:
- Issue assigned to sbose
- Issue set to the milestone: SSSD 1.13.3

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3915

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata