Help wanted - simple python or perl script for schema conversion

Sreepathi Pai sree314 at
Mon Dec 15 09:05:22 GMT 2008

On Mon, Dec 15, 2008 at 1:05 PM, Andrew Bartlett <abartlet at> wrote:
> This looks really good, and I'll commit these both for you.


> I wondered, do you think it would be possible to change the script into
> a python library?  I'm thinking it could be part of
> scripting/python/samba/  The idea would be to be able to
> call the full conversion in the provision script.

This shouldn't be difficult, I'll take a look at and see
what has to be done.

> Oddly, I also have a weird issue to report - even with your script as
> is, the provision fails.  I ran it like:
> python ../../scripting/bin/minschema_wspp
> MS-AD_Schema_Attributes_v20080618.txt MS-AD_Schema_Classes_v20080618.txt
> --dump-classes --dump-attributes > ../schema.ldif

I haven't tested it with 'make test', but the above command would not
generate the Aggregate entry. Is this what you want? Can you try
without any options? I'll try to check it too.

Sreepathi Pai

More information about the samba-technical mailing list