summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/ms_schema.py
AgeCommit message (Collapse)AuthorFilesLines
2012-09-27s4-python: Various formatting fixes.Jelmer Vernooij1-17/+17
* Trailing whitespace * use of "==" where "is" should be used * double spaces
2011-09-13s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij1-4/+15
places.
2010-11-28s4-python: Some reformatting for the purpose of pydoctor.Jelmer Vernooij1-3/+2
2010-03-29s4-python: Format to PEP8, simplify tests.Jelmer Vernooij1-13/+13
2010-01-08s4-schema: added adminDisplayName and adminDescriptionAndrew Tridgell1-0/+2
These are missing from the WSPP schemas Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4:provision Generate a random objectGUID for each schema recordAndrew Bartlett1-0/+2
This is needed to then create extended DNs with GUID attributes in them, when importing from the LDIF Andrew Bartlett
2009-07-22s4:provision Fix provision on FreeBSDAndrew Bartlett1-0/+1
We were missing the 'cn' attribute, which we then prepare a sorted list based on. On Linux, strcmp(NULL, NULL) does not segfault, where it does on FreeBSD. Reported by Timur I. Bakeyev <timur@com.bat.ru> Andrew Bartlett
2009-03-20s4:schema Remove 'cn' from the final output of ms_schema.pyAndrew Bartlett1-0/+6
This avoids one more point of difference between this an the output from minschema and fullschema Andrew Bartlett
2009-03-05Allow ms_schema.py to produce output much like minschema_wsppSreepathi Pai1-0/+15
I've patched the new ms_schema.py (which was intended to be used as a library) to function as minschema_wspp if invoked standalone. Although this is less robust than minschema_wspp on incorrect data, having two programs doing the same thing might not be good idea. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-02-25Tolerate more whitespace errorsAndrew Bartlett1-0/+1
We need to trim trailing spaces in the Microsoft-supplied schema. Andrew Bartlett
2009-02-25Create schema.ldif at runtime directly from ad-schema filesSreepathi Pai1-0/+253
Here's a first attempt at moving the minschema_wspp code into a library as Andrew requested. Since this script no longer has to generate CN=aggregate, I've simplified it quite a bit to a level where it almost does a line-by-line translation. This is faster and simpler, but it may not catch as many errors in the ad-schema files as the previous versions did. Signed-off-by: Andrew Bartlett <abartlet@samba.org>