OPSI.ldaptor.protocols.ldap.distinguishedname module

class OPSI.ldaptor.protocols.ldap.distinguishedname.DistinguishedName(magic=None, stringValue=None, listOfRDNs=None)

LDAP Distinguished Name.

contains(other)

Does the tree rooted at DN contain or equal the other DN.

getDomainName()
listOfRDNs = None
split()
up()
exception OPSI.ldaptor.protocols.ldap.distinguishedname.InvalidRelativeDistinguishedName(rdn)

Bases: exceptions.Exception

Invalid relative distinguished name.

class OPSI.ldaptor.protocols.ldap.distinguishedname.LDAPAttributeTypeAndValue(stringValue=None, attributeType=None, value=None)
attributeType = None
value = None
class OPSI.ldaptor.protocols.ldap.distinguishedname.RelativeDistinguishedName(magic=None, stringValue=None, attributeTypesAndValues=None)

LDAP Relative Distinguished Name.

attributeTypesAndValues = None
count()
split()
OPSI.ldaptor.protocols.ldap.distinguishedname.escape(s)
OPSI.ldaptor.protocols.ldap.distinguishedname.unescape(s)