[Samba] Error Upgrading Schema

Rowland penny rpenny at samba.org
Wed Nov 11 08:16:57 UTC 2020

On 10/11/2020 22:47, Matthew Delfino Samba List via samba wrote:
> Andrew,
> I feel that it is your prerogative to determine how many odd possibilities you want your tools to account for, so that they might know what to do rather than exit with an error. You have a better sense for how likely it is that someone in the wild is altering their schema and might have changed an already existing attribute, as it seems I did.
> If you'd allow me to impose upon your generosity, can you tell me how I might be able to find out if the 4.11.x `samba-tool domain schemaupgrade` option's new schema has any content that matches the ones I imported? I *do* have copies of the original ldif files I imported, so I know how to check what I used. But where is the new schema that the schemaupgrade option uses?
> I'll go looking, but perhaps your advice will help me to avoid any pitfalls.
The Samba schema upgrade script uses this:


This path is on Debian, so yours may differ.

The script reads 'Schema-Updates.md' and creates the required ldif's 
from it, so I think you need to remove anything from that list that is 
already in AD.


More information about the samba mailing list