Bug 2036672

Summary: Based on 1944494 (RFC 4530 entryUUID attribute) - plugin entryuuid failing
Product: Red Hat Directory Server Reporter: cilmar <cilmar>
Component: 389-ds-baseAssignee: thierry bordaz <tbordaz>
Status: CLOSED CURRENTRELEASE QA Contact: RHDS QE <ds-qe-bugs>
Severity: medium Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: high    
Version: 11.3CC: bs168, ldap-maint, mreynolds, pcech, sgouvern, tbordaz
Target Milestone: ---Keywords: Triaged
Target Release: dirsrv-11.5   
Hardware: All   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: redhat-ds-11-8070020220729181859-54d36466 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2047166 2047191 (view as bug list) Environment:
Last Closed: 2022-08-23 17:20:38 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:    
Bug Blocks: 2047166, 2047171, 2047175, 2047191    

Description cilmar@redhat.com 2022-01-03 14:46:20 UTC
Description of problem:
 We are getting error to execute "plugin entryuuid  fixup" with dsconf tool.


Version-Release number of selected component (if applicable):
 Rhel 8.5


How reproducible:
[root@rhds01 ~]# dsconf slapd-rhds01 plugin  entryuuid  fixup
     usage: dsconf instance plugin [-h]
            {memberof,automember,referential-integrity,root-dn,usn,account-policy,attr-uniq,dna,linked-attr,managed-entries,pass-through-auth,retro-changelog,posix-winsync,list,show,set}
            dsconf instance plugin: error: invalid choice: 'entryuuid' (choose from 'memberof', 'automember', 'referential-integrity', 'root-dn', 'usn', 'account-policy', 'attr-uniq', 'dna', 'linked-attr', 'managed-entries', 'pass-through-auth', 'retro-changelog', 'posix-winsync', 'list', 'show', 'set')

===========================================================================
Release notes ( https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/8.5_release_notes/index#enhancement_identity-management ) say :
 (BZ#1850664)

Actual results:
 - error / Fail

Expected results:
 - Enable entryUUID attribute to be compliant with RFC 4530.
 - We can also reproduce on our labs.

Comment 3 thierry bordaz 2022-01-31 08:14:54 UTC
Confirmed workaround is to create the fixup task manually

DATE_NOW="$(date +%s)"
ldapmodify -h localhost -D "cn=Directory Manager" -w "..." -a <<EOF
dn: cn=entryuuid_fixup_${DATE_NOW},cn=entryuuid task,cn=tasks,cn=config
objectClass: top
objectClass: extensibleObject
basedn: <fixup base tree>            # e.g. "cn=users,dc=example,dc=com"
cn: entryuuid_fixup_${DATE_NOW}
filter: <filtered entry>             # e.g. (objectClass=inetOrgPerson), schema definition of the matching entries must accept the addition of entryuuid
EOF

Comment 4 thierry bordaz 2022-02-03 15:49:24 UTC
Fix already available upstream => POST

Comment 6 Petr Čech 2022-05-25 12:16:01 UTC
As the RHEL 8.5 reached EOL, it makes sense to move this BZ to dirsrv-11.5, which means RHEL 8.6.