Thank you very much Ludwig, Disabling referential integrity would not be an attractive workaround in this implementation so I'm grateful for any assistance and happy to help all I can. Responses are in-line below. Ludwig Krispenz wrote on 10/4/2018 12:23 AM:
Hi Alberto, Luke,The failure is random. Restart resolves some instances of dn-uid mismatch, but not every instance. There are some differences in the logged errors which might be related. Restart does not resolve the residual incorrect uniqueMember values in groups. - did it fail for all modrdns or only specific usersOnly some users, but I have been able to reproduce errors by creating test users and not trying to rename them until the following day or later. This led me to suspect a possible relationship to periodic scripted tasks (such as group membership management) but I have not been able to confirm any such relationship. - could you provide the referential integrity configuration from the dse.ldifdn: cn=referential integrity postoperation,cn=plugins,cn=config objectClass: top objectClass: nsSlapdPlugin objectClass: extensibleObject cn: referential integrity postoperation nsslapd-pluginPath: libreferint-plugin nsslapd-pluginInitfunc: referint_postop_init nsslapd-pluginType: betxnpostoperation nsslapd-pluginEnabled: on nsslapd-pluginprecedence: 40 referint-update-delay: 0 referint-logfile: /var/log/dirsrv/slapd-dirmaster/referint referint-logchanges: 0 referint-membership-attr: member referint-membership-attr: uniquemember referint-membership-attr: owner referint-membership-attr: seeAlso nsslapd-plugin-depends-on-type: database nsslapd-pluginId: referint nsslapd-pluginVersion: 1.3.7.5 nsslapd-pluginVendor: 389 Project nsslapd-pluginDescription: referential integrity plugin modifiersName: cn=directory manager modifyTimestamp: 20180321162105Z - and some information on the user group structure of the failing users/groupsOur DIT is fairly flat, as is evident from the DNs in the excerpts below. The specific group in this example is our largest at about 11000 members, but not all of the affected entries have been members of this group. Audit log excerpts: time: 20180925100009 dn: uid=lktestA,ou=People,o=state.ak.us result: 0 changetype: add objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: soaOrgPerson objectClass: inetLocalMailRecipient stellentusertype: Internal sn: lktestA cn: lktestA ou: Administration l: Anchorage uid: lktestA creatorsName: uid=lk*****,ou=people,o=state.ak.us modifiersName: uid=lk*****,ou=people,o=state.ak.us createTimestamp: 20180925180009Z modifyTimestamp: 20180925180009Z ... time: 20180926070140 dn: cn=Statewide - Non Employees, ou=Groups, o=state.ak.us result: 0 changetype: modify add: uniqueMember uniqueMember: uid=20180925mwmeienberg,ou=People,o=state.ak.us uniqueMember: uid=dlnorthburg,ou=People,o=state.ak.us uniqueMember: uid=dot.issd.cab,ou=People,o=state.ak.us uniqueMember: uid=dot.issd.systems.eng,ou=People,o=state.ak.us uniqueMember: uid=lktestA,ou=People,o=state.ak.us uniqueMember: uid=lktestB,ou=People,o=state.ak.us uniqueMember: uid=lktestCorup010,ou=People,o=state.ak.us uniqueMember: uid=lktestcorup0200,ou=People,o=state.ak.us uniqueMember: uid=lktestC,ou=People,o=state.ak.us uniqueMember: uid=lktestD,ou=People,o=state.ak.us uniqueMember: uid=lktestE,ou=People,o=state.ak.us uniqueMember: uid=lktestF,ou=People,o=state.ak.us uniqueMember: uid=lorussell,ou=People,o=state.ak.us uniqueMember: uid=mplachinski,ou=People,o=state.ak.us uniqueMember: uid=Rkitiona,ou=People,o=state.ak.us uniqueMember: uid=ssaarsetharc,ou=People,o=state.ak.us - replace: modifiersname modifiersname: uid=ak*****,ou=people,o=state.ak.us - replace: modifytimestamp modifytimestamp: 20180926150140Z - Access log excerpt: [27/Sep/2018:11:29:23.099860407 -0800] conn=175 fd=173 slot=173 connection from 10.*.*.2 to 10.*.*.3 [27/Sep/2018:11:29:23.100058246 -0800] conn=175 op=0 BIND dn="uid=lk*****,ou=People,o=state.ak.us" method=128 version=3 [27/Sep/2018:11:29:23.100419707 -0800] conn=175 op=0 RESULT err=0 tag=97 nentries=0 etime=0.0000498496 dn="uid=lk*****,ou=people,o=state.ak.us" [27/Sep/2018:11:29:23.100883691 -0800] conn=175 op=1 MODRDN dn="uid=lktestA,ou=People,o=state.ak.us" newrdn="uid=lktestA1" newsuperior="(null)" [27/Sep/2018:11:29:32.010951183 -0800] conn=175 op=1 RESULT err=1 tag=109 nentries=0 etime=8.1089839667 csn=5bad2f93000000010000 [27/Sep/2018:11:29:32.011655447 -0800] conn=175 op=2 UNBIND [27/Sep/2018:11:29:32.011669501 -0800] conn=175 op=2 fd=173 closed - U1 Error log excerpts: (since starting production use on 9 September, converted from ds7) > grep -i modrdn errors* errors.20180907-002004:[10/Sep/2018:15:05:34.658791117 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180907-002004:[11/Sep/2018:11:28:21.168151469 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180907-002004:[12/Sep/2018:12:02:30.359474198 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180907-002004:[12/Sep/2018:12:38:32.159185135 -0800] - ERR - ldbm_back_modrdn - entryrdn_rename_subtree failed (-30988); dn: uid=bfishie00,ou=People,o=state.ak.us, newsrdn: (null), dn_newsuperiordn: (null) errors.20180914-115839:[17/Sep/2018:08:02:08.997495533 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180914-115839:[17/Sep/2018:11:22:48.235465642 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180914-115839:[17/Sep/2018:11:58:34.809217081 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180914-115839:[19/Sep/2018:15:16:15.960581907 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[24/Sep/2018:08:01:42.846771929 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[25/Sep/2018:09:00:47.780203196 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[26/Sep/2018:15:50:46.671324556 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[27/Sep/2018:10:36:35.122441609 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[27/Sep/2018:11:29:31.994645991 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[27/Sep/2018:11:42:14.074905249 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[28/Sep/2018:07:56:01.431044649 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[28/Sep/2018:07:56:40.192324627 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[28/Sep/2018:07:57:13.827975215 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors.20180924-080142:[28/Sep/2018:12:29:11.860652579 -0800] - ERR - ldbm_back_modrdn - entryrdn_rename_subtree failed (-30988); dn: uid=jlsmith5,ou=People,o=state.ak.us, newsrdn: (null), dn_newsuperiordn: (null) errors.20180924-080142:[28/Sep/2018:12:31:03.854724118 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors:[02/Oct/2018:13:24:59.342201280 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors:[02/Oct/2018:16:29:11.282793381 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE errors:[04/Oct/2018:10:03:34.536504456 -0800] - ERR - ldbm_back_modrdn - SLAPI_PLUGIN_BE_TXN_POST_MODRDN_FN plugin returned error but did not set SLAPI_RESULT_CODE I have noticed that many of our DNs contain ou=people (lower case p instead of upper case P) and I have speculated about whether that could cause problems somewhere. Thanks, |
_______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx