LDIF related types
- data LDIF = LDIF {
- lcVersion :: Maybe String
- lcEntries :: [LDIFRecord]
- data LDIFRecord
- = ContentRecord {
- reDN :: DN
- coAttrVals :: [AttrValue]
- | ChangeRecord { }
- = ContentRecord {
- data Change
- = ChangeAdd {
- chAttrVals :: [AttrValue]
- | ChangeDelete
- | ChangeModify { }
- | ChangeModDN
- = ChangeAdd {
- data Modify
- = ModAdd {
- modAttr :: Attribute
- modAttrVals :: [Value]
- | ModDelete {
- modAttr :: Attribute
- modAttrVals :: [Value]
- | ModReplace {
- modAttr :: Attribute
- modAttrVals :: [Value]
- = ModAdd {
- data DN
- = DN {
- dnAttrVals :: [AttrValue]
- | DNi {
- dnAttrVals :: [AttrValue]
- = DN {
- data LDIFType
- newtype Attribute = Attribute String
- type Value = String
- type AttrValue = (Attribute, Value)
Documentation
Represents LDIF structure, it can be either simply LDIF data dump or | changes LDIF with LDAP operations
data LDIFRecord Source
Represents one data record within LDIF file with DN and content | Represents one change record within LDIF file with DN and content
ContentRecord | |
| |
ChangeRecord | |
Represents one LDAP operation within changes LDIF
Represents ChangeModify operations upon one entry within given DN
ModAdd | |
| |
ModDelete | |
| |
ModReplace | |
|
Represents Distinguished Name (DN)
DN | |
| |
DNi | |
|
Type of LDIF Files (Content, Changes)