From 37c2382fdf06874d4cedb1ac245aab4130505419 Mon Sep 17 00:00:00 2001 From: drighetto Date: Sun, 24 Jul 2016 11:47:53 +0200 Subject: [PATCH] Add authentication method to information extracted in order to know how credentials must be used --- .../src/LaZagne/softwares/sysadmin/apachedirectorystudio.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Windows/src/LaZagne/softwares/sysadmin/apachedirectorystudio.py b/Windows/src/LaZagne/softwares/sysadmin/apachedirectorystudio.py index 51ab9c05..fa555f89 100644 --- a/Windows/src/LaZagne/softwares/sysadmin/apachedirectorystudio.py +++ b/Windows/src/LaZagne/softwares/sysadmin/apachedirectorystudio.py @@ -11,7 +11,7 @@ def __init__(self): options = {'command': '-t', 'action': 'store_true', 'dest': 'apachedirectorystudio', 'help': 'Apache Directory Studio'} ModuleInfo.__init__(self, 'apachedirectorystudio', 'sysadmin', options) # Interesting XML attributes in ADS connection configuration - self.attr_to_extract = ["host", "port", "bindPrincipal", "bindPassword"] + self.attr_to_extract = ["host", "port", "bindPrincipal", "bindPassword", "authMethod"] def extract_connections_credentials(self): @@ -59,6 +59,7 @@ def run(self): values["Port"] = creds["port"] values["BindPrincipal"] = creds["bindPrincipal"] values["BindPassword"] = creds["bindPassword"] + values["AuthenticationMethod"] = creds["authMethod"] pwd_found.append(values) # Print the results