class documentation

class LDAPEntryWithAutoFill(LDAPEntry): (source)

View In Hierarchy

Undocumented

Method __init__ Initialize the object.
Method addAutofiller Undocumented
Method journal Add a Modification into the list of modifications that need to be flushed to the LDAP server.
Instance Variable autoFillers Undocumented
Method _cb_addAutofiller Undocumented

Inherited from LDAPEntryWithClient:

Method __contains__ TODO
Method __delitem__ Delete all values of an attribute.
Method __eq__ Comparison. Only equality is supported.
Method __getitem__ Get all values of an attribute.
Method __hash__ Undocumented
Method __len__ TODO
Method __ne__ Inequality comparison. See L{__eq__}.
Method __nonzero__ Always return True
Method __repr__ Undocumented
Method __setitem__ Set values of an attribute. Please use lists. Do not modify the lists in place, that's not supported _yet_.
Method addChild Undocumented
Method bind Try to authenticate with given secret.
Method buildAttributeSet Undocumented
Method commit Send all pending changes to the LDAP server.
Method delete Delete this object from the LDAP server.
Method fetch Fetch the attributes of this object from the server.
Method get Get all values of an attribute.
Method has_key TODO
Method items TODO
Method keys TODO
Method lookup Lookup the referred to by dn.
Method move Move the object to a new DN.
Method namingContext Return an LDAPEntry for the naming context that contains this object.
Method search Perform an LDAP search with this object as the base.
Method setPassword Update the password for the entry with a new password and salt passed as bytes.
Method setPassword_ExtendedOperation Set the password on this object.
Method setPassword_Samba Set the Samba password on this object.
Method setPasswordMaybe_Samba Set the Samba password on this object if it is a sambaSamAccount or sambaAccount.
Method toWire Undocumented
Method undo Forget all pending changes.
Instance Variable client Undocumented
Instance Variable complete Undocumented
Instance Variable dn Undocumented
Method _assertMatchedDN Undocumented
Method _canRemove Called by JournaledLDAPAttributeSet when it is about to remove a value of an attributeType.
Method _canRemoveAll Called by JournaledLDAPAttributeSet when it is about to remove all values of an attributeType.
Method _cbAddDone Undocumented
Method _cbDeleteDone Undocumented
Method _cbFetch Undocumented
Method _cbMoveDone Undocumented
Method _cbNamingContext_Entries Undocumented
Method _cbSearchEntry Undocumented
Method _cbSearchMsg Undocumented
Method _cbSetPassword Undocumented
Method _cbSetPassword_ExtendedOperation Undocumented
Method _cbSetPassword_one Undocumented
Method _checkState Undocumented
Method _commit_success Undocumented
Method _ebSetPassword_one Undocumented
Method _handle_bind_msg Undocumented
Method _setPasswordAll Undocumented
Class Variable _setPasswordPriority_ExtendedOperation Undocumented
Class Variable _setPasswordPriority_Samba Undocumented
Instance Variable _journal Undocumented
Instance Variable _remoteData Undocumented
Instance Variable _state State of an LDAPEntry is one of:

Inherited from BaseLDAPEntry (via LDAPEntryWithClient, EditableLDAPEntry):

Method __bool__ Undocumented
Method __iter__ Undocumented
Method diff Compute differences between this and another LDAP entry.
Method getLDIF Undocumented
Method hasMember Undocumented
Method _bind Undocumented
Class Variable _object_class_keys Undocumented
Class Variable _object_class_lower_keys Undocumented
Class Variable _user_password_keys Undocumented
Instance Variable _attributes Undocumented

Inherited from WireStrAlias (via LDAPEntryWithClient, EditableLDAPEntry, BaseLDAPEntry):

Method __str__ Undocumented
def __init__(self, *args, **kwargs): (source)

Initialize the object. @param client: The LDAP client connection this object belongs to. @param dn: Distinguished Name of the object, as a string. @param attributes: Attributes of the object. A dictionary of attribute types to list of attribute values.

def addAutofiller(self, autoFiller): (source)

Undocumented

def journal(self, journalOperation): (source)

Add a Modification into the list of modifications that need to be flushed to the LDAP server. Normal callers should not use this, they should use the o['foo']=['bar', 'baz'] -style API that enforces schema, handles errors and updates the cached data.

autoFillers: list = (source)

Undocumented

def _cb_addAutofiller(self, r, autoFiller): (source)

Undocumented