Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
+#!/usr/bin/env python3
# Unix SMB/CIFS implementation.
# Copyright (C) Andrew Bartlett <abartlet@samba.org> 2017
#
"""Tests for the Auth and AuthZ logging.
"""
+
+import sys
+
+sys.path.insert(0, 'bin/python')
+
import samba.tests
from samba.dcerpc import srvsvc, dnsserver
import os
self.assertEqual("schannel", msg["Authorization"]["authType"])
self.assertEqual("SEAL", msg["Authorization"]["transportProtection"])
self.assertTrue(self.is_guid(msg["Authorization"]["sessionId"]))
+
+
+if __name__ == '__main__':
+ import unittest
+ unittest.main()