Univention Bugzilla – Bug 44634
replPropertyMetaData fix incomplete during update to UCS 4.1-4
Last modified: 2017-08-16 13:34:11 CEST
During the update to UCS 4.1-4 univention-samba4.postinst runs samba-tool dbcheck --cross-ncs --fix --yes to fix the replPropertyMetaData attributes as recommended in the Samba 4.5.0 release notes. But in Samba 4.5.1 dbcheck aborts when groups contain deleted members: ERROR: incorrect GUID component for member in object CN=DC Backup Hosts,CN=Groups,DC=example,DC=com - <GUID=7e45bf57cdcb78409c3cde7b3d85ecae>;<RMD_ADDTIME=130298692710000000>;<RMD_CHANGETIME=130413301070000000>;<RMD_FLAGS=1>;<RMD_INVOCID=41319e29b72a4a4bb8ff64141bec24ca>;<RMD_LOCAL_USN=5735>;<RMD_ORIGINATING_USN=5735>;<RMD_VERSION=1>;<SID=01050000000000051500000087cb2dca4485b093d6363bb068040000>;CN=someadmin,CN=Users,DC=example,DC=com Change DN to <GUID=b20fe7f8-0cdf-4302-97d8-fcb39d402f5c>;<SID=S-1-5-21-0123456789-0123456789-0123456789-5130>;CN=someadmin,CN=Users,DC=example,DC=com? [YES] ERROR: Failed to fix incorrect GUID on attribute member : (53, 'Attribute member already deleted for target GUID 75bf457e-cbcd-4078-9c3c-de7b3d85ecae') We should run the dbcheck again in one of the next updates.
There is a Customer ID set so I set the flag "Enterprise Customer affected".
I've adjusted the univention-samba4.postinst : * run dbcheck to see if a fix is required * check available discspace for backup * backup & run dbcheck --fix Advisory: univention-samba4.yaml
OK - available disk space test OK - samba-tool dbcheck test OK - samba-tool dbcheck --cross-ncs --fix --yes
<http://errata.software-univention.de/ucs/4.1/448.html>