1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-10 04:23:50 +03:00

pysmbd: add "session_info" arg to py_smbd_unlink()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Ralph Boehme
2019-12-17 14:14:45 +01:00
parent da2a9857d0
commit a4f3860da3
3 changed files with 25 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ class PosixAclMappingTests(SmbdBaseTests):
self.samdb = SamDB(lp=self.lp, session_info=auth.system_session())
def tearDown(self):
smbd.unlink(self.tempf)
smbd.unlink(self.tempf, self.get_session_info())
os.unlink(os.path.join(self.tempdir, "xattr.tdb"))
super(PosixAclMappingTests, self).tearDown()