This commit is contained in:
Oran Nadler 2018-05-08 15:48:53 +03:00
parent 0ca804d4e3
commit 404da6e6d6
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class WindowsInfoCollector(InfoCollector):
for wmi_class_name, props in WMI_LDAP_CLASSES.iteritems():
self.info[wmi_class_name] = self.get_wmi_class(wmi_class_name, "//./root/directory/ldap", props)
def get_wmi_class(self, class_name, moniker="//./root/civ2", properties=None):
def get_wmi_class(self, class_name, moniker="//./root/cimv2", properties=None):
_wmi = wmi.WMI(moniker=moniker)
try: