50
51
super(IDmapDB, self).connect(url=self.lp.private_path(url), flags=flags,
53
def setup_name_mapping(self, sid, type, unixid):
74
def setup_name_mapping(self, sid, type, unixid=None):
54
75
"""Setup a mapping between a sam name and a unix name.
56
77
:param sid: SID of the NT-side of the mapping.
60
83
if type == self.TYPE_UID:
61
84
type_string = "ID_TYPE_UID"