mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
s4:python Add helper to get at the domain SID
This commit is contained in:
@ -233,6 +233,12 @@ class Ldb(ldb.Ldb):
|
||||
"""
|
||||
glue.samdb_set_domain_sid(self, sid)
|
||||
|
||||
def domain_sid(self):
|
||||
"""Read the domain SID used by this LDB.
|
||||
|
||||
"""
|
||||
glue.samdb_get_domain_sid(self)
|
||||
|
||||
def set_schema_from_ldif(self, pf, df):
|
||||
glue.dsdb_set_schema_from_ldif(self, pf, df)
|
||||
|
||||
|
Reference in New Issue
Block a user