OPSI.ldaptor.protocols.ldap.ldifdelta module¶
- 
class 
OPSI.ldaptor.protocols.ldap.ldifdelta.LDIFDelta¶ Bases:
OPSI.ldaptor.protocols.ldap.ldifprotocol.LDIF- 
MOD_SPEC_TO_DELTA= {'add': <class 'OPSI.ldaptor.delta.Add'>, 'replace': <class 'OPSI.ldaptor.delta.Replace'>, 'delete': <class 'OPSI.ldaptor.delta.Delete'>}¶ 
- 
state_IN_ADD_ENTRY(line)¶ 
- 
state_IN_DELETE(line)¶ 
- 
state_IN_MOD_SPEC(line)¶ 
- 
state_WAIT_FOR_CHANGETYPE(line)¶ 
- 
state_WAIT_FOR_DN(line)¶ 
- 
state_WAIT_FOR_MOD_SPEC(line)¶ 
- 
 
- 
exception 
OPSI.ldaptor.protocols.ldap.ldifdelta.LDIFDeltaAddMissingAttributesError¶ Bases:
OPSI.ldaptor.protocols.ldap.ldifprotocol.LDIFParseErrorAdd operation needs to have atleast one attribute type and value.
- 
exception 
OPSI.ldaptor.protocols.ldap.ldifdelta.LDIFDeltaDeleteHasJunkAfterChangeTypeError¶ Bases:
OPSI.ldaptor.protocols.ldap.ldifprotocol.LDIFParseErrorDelete operation takes no attribute types or values.
- 
exception 
OPSI.ldaptor.protocols.ldap.ldifdelta.LDIFDeltaMissingChangeTypeError¶ Bases:
OPSI.ldaptor.protocols.ldap.ldifprotocol.LDIFParseErrorLDIF delta entry has no changetype.
- 
exception 
OPSI.ldaptor.protocols.ldap.ldifdelta.LDIFDeltaModificationDifferentAttributeTypeError¶ Bases:
OPSI.ldaptor.protocols.ldap.ldifprotocol.LDIFParseErrorThe attribute type for the change is not the as in the mod-spec header line.
- 
exception 
OPSI.ldaptor.protocols.ldap.ldifdelta.LDIFDeltaModificationMissingEndDashError¶ Bases:
OPSI.ldaptor.protocols.ldap.ldifprotocol.LDIFParseErrorLDIF delta modification has no ending dash.
- 
exception 
OPSI.ldaptor.protocols.ldap.ldifdelta.LDIFDeltaUnknownModificationError¶ Bases:
OPSI.ldaptor.protocols.ldap.ldifprotocol.LDIFParseErrorLDIF delta modification has unknown mod-spec.
- 
OPSI.ldaptor.protocols.ldap.ldifdelta.fromLDIFFile(f)¶ Read LDIF data from a file.