s.s.IdmapDatabase(TdbDatabase) : class documentation

Part of samba.samba3 View In Hierarchy

Samba 3 ID map database reader.
Method ids Retrieve a list of all ids in this database.
Method uids Retrieve a list of all uids in this database.
Method gids Retrieve a list of all gids in this database.
Method get_sid Retrive SID associated with a particular id and type.
Method get_user_sid Retrieve the SID associated with a particular uid.
Method get_group_sid Undocumented
Method get_user_hwm Obtain the user high-water mark.
Method get_group_hwm Obtain the group high-water mark.
Method _check_version Undocumented

Inherited from TdbDatabase:

Method __init__ Open a file.
Method close Close resources associated with this object.
def _check_version(self):
Undocumented
def ids(self):
Retrieve a list of all ids in this database.
def uids(self):
Retrieve a list of all uids in this database.
def gids(self):
Retrieve a list of all gids in this database.
def get_sid(self, xid, id_type):
Retrive SID associated with a particular id and type.
ParametersxidUID or GID to retrive SID for.
id_typeType of id specified - 'UID' or 'GID'
def get_user_sid(self, uid):
Retrieve the SID associated with a particular uid.
ParametersuidUID to retrieve SID for.
ReturnsA SID or None if no mapping was found.
def get_group_sid(self, gid):
Undocumented
def get_user_hwm(self):
Obtain the user high-water mark.
def get_group_hwm(self):
Obtain the group high-water mark.
API Documentation for Samba, generated by pydoctor at 2011-12-08 20:23:28.