1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

pysmbd: make "session_info" arg to py_smbd_get_nt_acl() mandatory

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:52:49 +01:00
parent 437af4d079
commit 9b2c415d2c
7 changed files with 62 additions and 61 deletions

View File

@ -152,10 +152,10 @@ class NtaclsBackupRestoreTests(SmbdBaseTests):
sd0 = self.smb_helper.get_acl(file_name, as_sddl=True)
sd1 = self.ntacls_helper.getntacl(
file_path, as_sddl=True, direct_db_access=False)
file_path, system_session_unix(), as_sddl=True, direct_db_access=False)
sd2 = self.ntacls_helper.getntacl(
file_path, as_sddl=True, direct_db_access=True)
file_path, system_session_unix(), as_sddl=True, direct_db_access=True)
self.assertEquals(sd0, sd1)
self.assertEquals(sd1, sd2)