[Samba] ERROR: incorrect GUID component for distinguishedName

Arnaud FLORENT aflorent at iris-tech.fr
Fri Sep 8 14:52:35 UTC 2023


Hi


before upgrading AD DC running samba 4.3.11-Ubuntu


i get errors i can not fix on AD db

samba-tool dbcheck reports 26 errors  incorrect GUID component for 
distinguishedName in object


ie

ERROR: incorrect GUID component for distinguishedName in object 
CN=ms-DS-Members-For-Az-Role,CN=Schema,CN=Configuration,DC=abcdef,DC=ghi- 
<GUID=c96aece1-fdda-4f4f-a4d8-e0bb31bdd7f7>;CN=ms-DS-Members-For-Az-Role,CN=Schema,CN=Configuration,DC=abcdef,DC=ghi



when i try to run samba-tool dbcheck --fix it fails with


Change DN to 
<GUID=c96aece1-fdda-4f4f-a4d8-e0bb31bdd7f7>;CN=ms-DS-Members-For-Az-Role,CN=Schema,CN=Configuration,DC=abcdef,DC=ghi? 
[y/N/all/none] y
Failed to fix incorrect GUID on attribute distinguishedName : (32, 
"Base-DN 
'<GUID=c96aece1-fdda-4f4f-a4d8-e0bb31bdd7f7>;CN=ms-DS-Members-For-Az-Role,CN=Schema,CN=Configuration,DC=abcdef,DC=ghi' 
not found")



is there a way to fix this using ldbedit?

thank you




-- 
Arnaud FLORENT
IRIS Technologies




More information about the samba mailing list