OPSI.ldaptor.protocols.ldap.ldif module¶
Support for writing a set of directory entries as LDIF. You probably want to use this only indirectly, as in str(LDAPEntry(...)).
TODO support writing modify operations TODO support reading modify operations
TODO implement rest of syntax from RFC2849
-
OPSI.ldaptor.protocols.ldap.ldif.
asLDIF
(dn, attributes)¶
-
OPSI.ldaptor.protocols.ldap.ldif.
attributeAsLDIF
(attribute, value)¶
-
OPSI.ldaptor.protocols.ldap.ldif.
attributeAsLDIF_base64
(attribute, value)¶
-
OPSI.ldaptor.protocols.ldap.ldif.
base64_encode
(s)¶
-
OPSI.ldaptor.protocols.ldap.ldif.
containsNonprintable
(s)¶
-
OPSI.ldaptor.protocols.ldap.ldif.
header
()¶
-
OPSI.ldaptor.protocols.ldap.ldif.
manyAsLDIF
(objects)¶