self.remoteAddress)
session_id = self.get_session()
self.assertEquals(session_id, audit["sessionId"])
- service_description = self.get_service_description()
- self.assertEquals(service_description, "DCE/RPC")
+ # We skip the check for self.get_service_description() as this
+ # is subject to a race between smbd and the s4 rpc_server code
+ # as to which will set the description as it is DCE/RPC over SMB
+
self.assertTrue(self.is_guid(audit["transactionId"]))
attributes = audit["attributes"]
self.remoteAddress)
session_id = self.get_session()
self.assertEquals(session_id, audit["sessionId"])
- service_description = self.get_service_description()
- self.assertEquals(service_description, "DCE/RPC")
+ # We skip the check for self.get_service_description() as this
+ # is subject to a race between smbd and the s4 rpc_server code
+ # as to which will set the description as it is DCE/RPC over SMB
+
self.assertTrue(self.is_guid(audit["transactionId"]))
attributes = audit["attributes"]
self.assertTrue(self.is_guid(audit["sessionId"]))
session_id = self.get_session()
self.assertEquals(session_id, audit["sessionId"])
- service_description = self.get_service_description()
- self.assertEquals(service_description, "DCE/RPC")
+
+ # We skip the check for self.get_service_description() as this
+ # is subject to a race between smbd and the s4 rpc_server code
+ # as to which will set the description as it is DCE/RPC over SMB
+
attributes = audit["attributes"]
self.assertEquals(2, len(attributes))
self.assertTrue(self.is_guid(audit["sessionId"]))
session_id = self.get_session()
self.assertEquals(session_id, audit["sessionId"])
- service_description = self.get_service_description()
- self.assertEquals(service_description, "DCE/RPC")
+
+ # We skip the check for self.get_service_description() as this
+ # is subject to a race between smbd and the s4 rpc_server code
+ # as to which will set the description as it is DCE/RPC over SMB
+
def test_modify(self):