#2874 sssd: [sysdb_add_user] (0x0400): Error: 17 (File exists)
Closed: Fixed None Opened 4 years ago 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

resolution: => fixed
status: new => closed

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

2 years ago

Login to comment on this ticket.

Metadata