s.ms_schema : module documentation

Part of samba

Generate LDIF from WSPP documentation.
Function fix_dn fix a string DN to use ${SCHEMADN}
Function read_ms_schema Read WSPP documentation-derived schema files.
Function __read_folded_line reads a line from an LDIF file, unfolding it
Function __read_raw_entries reads an LDIF entry, only unfolding lines
Function __convert_bitfield Evaluate the OR expression in 'value'
Function __write_ldif_one Write out entry as LDIF
Function __transform_entry Perform transformations required to convert the LDIF-like schema file entries to LDIF, including Samba-specific stuff.
Function __parse_schema_file Load and transform a schema file.
def __read_folded_line(f, buffer):
reads a line from an LDIF file, unfolding it
def __read_raw_entries(f):
reads an LDIF entry, only unfolding lines
def fix_dn(dn):
fix a string DN to use ${SCHEMADN}
def __convert_bitfield(key, value):
Evaluate the OR expression in 'value'
def __write_ldif_one(entry):
Write out entry as LDIF
def __transform_entry(entry, objectClass):
Perform transformations required to convert the LDIF-like schema file entries to LDIF, including Samba-specific stuff.
def __parse_schema_file(filename, objectClass):
Load and transform a schema file.
def read_ms_schema(attr_file, classes_file, dump_attributes=True, dump_classes=True, debug=False):
Read WSPP documentation-derived schema files.
API Documentation for Samba, generated by pydoctor at 2012-03-06 23:17:58.