mirror of
https://github.com/samba-team/samba.git
synced 2025-07-16 20:59:12 +03:00
python: Remove unnecessary Ldb.set_invocation_id - use SamDB.set_invocation_id instead.
This commit is contained in:
@ -292,13 +292,6 @@ class Ldb(_Ldb):
|
||||
def convert_schema_to_openldap(self, target, mapping):
|
||||
return dsdb.dsdb_convert_schema_to_openldap(self, target, mapping)
|
||||
|
||||
def set_invocation_id(self, invocation_id):
|
||||
"""Set the invocation id for this SamDB handle.
|
||||
|
||||
:param invocation_id: GUID of the invocation id.
|
||||
"""
|
||||
dsdb.dsdb_set_ntds_invocation_id(self, invocation_id)
|
||||
|
||||
def get_invocation_id(self):
|
||||
"""Get the invocation_id id"""
|
||||
return dsdb.samdb_ntds_invocation_id(self)
|
||||
|
Reference in New Issue
Block a user