From 2c4be7b9e463bad257ca9fc2da4167736e5c1e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20Ure=C3=B1a?= Date: Thu, 17 Nov 2022 09:27:01 -0400 Subject: [PATCH] Fix cmedb displayed credentials for mssql The columns were not in the correct order, which caused them to be displayed incorrectly. This change properly orders the way CMEDB displays credentials in the mssql protocol. --- cme/protocols/mssql/db_navigator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cme/protocols/mssql/db_navigator.py b/cme/protocols/mssql/db_navigator.py index fb25e45b..ca2d6466 100644 --- a/cme/protocols/mssql/db_navigator.py +++ b/cme/protocols/mssql/db_navigator.py @@ -14,10 +14,10 @@ class navigator(DatabaseNavigator): for cred in creds: credID = cred[0] - domain = cred[1] - username = cred[2] - password = cred[3] - credtype = cred[4] + credtype = cred[1] + domain = cred[2] + username = cred[3] + password = cred[4] # pillaged_from = cred[5] links = self.db.get_admin_relations(userID=credID)