Help wanted - simple python or perl script for schema conversion

Sreepathi Pai sree314 at gmail.com
Thu Dec 11 20:40:58 GMT 2008


[ Attached are two patches and a script.

Patch #1 is the minschema_wspp tool that generates schema.ldif from
WSPP documentation. This uses code from minschema.py (Samba 4 alpha 5)
and is licensed similarly.

Patch #2 is against the AD schema text files that fix errors in them.
minschema_wspp will not work on these files without this patch.
Details below.

extract_from_pdf.py is a script written by me that can generate the AD
Schema text files directly from the WSPP PDF documentation mentioned
by Andrew. Note that there are inconsistencies between a schema.ldif
generated from the MS text files and the ones generated by this tool.
Requires pdftotext. I release this script (extract_from_pdf.py) into
the public domain. It is not required for minschema_wspp to work.

Thanks to Andrew for testing early versions of this script!
]

For minschema_wspp.patch:

Add minschema_wspp that generates schema.ldif from WSPP documentation.


For  MS-AD_Schema_Attributes_v20080618.txt.patch:

Fix errors in MS-AD_Schema_Attributes_v20080618.txt

 - Remove spurious line breaks
 - Add missing attributeId from docs
 - Remove incorrect multiple values of systemFlags
 - Fix duplicate attributeId

-- 
Sreepathi Pai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minschema_wspp.patch
Type: text/x-patch
Size: 15255 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081212/a82190e9/minschema_wspp.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MS-AD_Schema_Attributes_v20080618.txt.patch
Type: text/x-patch
Size: 5030 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081212/a82190e9/MS-AD_Schema_Attributes_v20080618.txt.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extract_from_pdf.py
Type: text/x-python
Size: 4189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081212/a82190e9/extract_from_pdf.py


More information about the samba-technical mailing list