[SOLVED] Syncing AD groups and WAPT groups 1.8.1

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

May 25, 2020 - 6:08 PM

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
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

May 27, 2020 - 08:47

Hello,

is anyone available to give me a little help?

Have a good day

. Regards.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

May 29, 2020 - 4:36 PM

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
ryoken95
Messages: 28
Registered: December 23, 2015 - 11:09

June 2, 2020 - 08:33

Hello,

thank you for your reply.

Regards
Locked