Page 1 of 1

[SOLVED] Syncing AD groups and WAPT groups 1.8.1

Published: May 25, 2020 - 6:08 PM
by ryoken95
Hello,

I want to synchronize an Active Directory group with a WAPT 1.8.1 group.

WAPT Server version: 1.8.1 (Linux)
WAPT Agent version: 1.8.1.6756 (Windows 10 and 7)

- I created a WAPTTEST group in Active Directory
- created another WAPTTEST group from the WAPT console
- used the update_all_hosts.py script located here -> https://github.com/tranquilit/WAPT/blob ... l_hosts.py to automate the synchronization

, but I get the following error:

Please input wapt server admin password:
Traceback (most recent call last):
File "update_all_hosts.py", line 79, in
wapt = Wapt(config_filename = options.config)
File "C:\Program Files (x86)\wapt\common.py", line 2691, in __init__
self.load_config(config_filename = self.config_filename)
File "C:\Program Files (x86)\wapt\common.py", line 2866, in load_config
if self.config.has_option('global','dbpath'):
File "C:\Program Files (x86)\wapt\lib\site-packages\iniparse\compat.py", line 154, in has_option
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'global'


Can you help me please?

Have a nice day

cdt

Re: Syncing AD groups and WAPT groups 1.8.1

Published: May 27, 2020 - 08:47
by ryoken95
Hello,

is anyone available to give me a little help?

Have a good day

. Regards.

Re: Syncing AD groups and WAPT groups 1.8.1

Published: May 29, 2020 - 4:36 PM
by dcardon
Hello,

this isn't a script that's part of the WAPT distribution (if it was on GitHub at some point, it was a mistake). It's probably something that was created for a specific client case, but aside from serving as inspiration, it won't be very useful. According to the message, the script can't find a valid wapt-get.ini configuration. But to be honest, I don't even have this script in my Git repository, so I don't really know...

Best regards,

Denis

Re: Syncing AD groups and WAPT groups 1.8.1

Published: June 2, 2020 - 8:33 AM
by ryoken95
Hello,

thank you for your reply.

Regards