Nethserver-wapt available

Questions about WAPT Server / Requests and help related to the WAPT server
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
stephdl
Messages: 3
Registration: August 25, 2020 - 5:02 PM

August 30, 2020 - 2:44 PM

Hello,

I'm currently coding a integration WAPT

The goal is to allow the sysadmin to focus on managing their infrastructure and network, rather than worrying about server/network setup. This is the philosophy behind NethServer: a server with a Cockpit-based server manager.

To introduce myself, I'm a developer on the project, Stéphane de Labrusse, aka stephdl.

I've managed to achieve what I wanted, but I'm starting this thread to address what's not working as intended. :D

After installing the nethserver-wapt package, you should have

: - The waptserver wapttasks service started, ready to work with open wapt-1.3 authentication.
- If Samba AD authentication has been enabled (remotely or locally) on NethServer, wapt is ready for Kerberos authentication.

I have two questions

: 1- To start the service, I use a script that configures WAPT to use open authentication. I would like to be able to choose the authentication method and password; I don't know if this is possible (unless I submit a pull request?).

2- Is there a plan to run the WAPT server in gateway mode (with multiple network cards)? I haven't tried it for long, but I got WebSocket errors when the console tried to upload the wpt-agent. Is this theoretically possible?
Last edited by stephdl on 01 Sep 2020 - 20:33, edited 1 time.
stephdl
Messages: 3
Registration: August 25, 2020 - 5:02 PM

August 31, 2020 - 5:04 PM

Hello

A few more questions about CentOS 7

I see a logrotate file for waptserver but not for the wapttasks log; I'm wondering..

It seems to me that the nginx template is not marked in

Code: Select all

%config noreplace
in the rpm spec, if the sysadmin modifies it, then an update via the rpm will modify it and a reconfiguration via the console will lose the modifications.
I'm talking about:

Code: Select all

/opt/wapt/waptserver/scripts/wapt.nginxconfig.template
The systemd waptserver service wasn't starting at server boot; it seemed to be trying to start before the network was available. I had to customize this to find the UP service

Code: Select all

# /etc/systemd/system/waptserver.service.d/nethserver.conf
[Unit]
Description=WAPT Server startup script custom for NethServer
After=network.target
stephdl
Messages: 3
Registration: August 25, 2020 - 5:02 PM

September 1, 2020 - 8:37 PM

Nethserver-wapt is available in beta.


Documentation: https://wiki.nethserver.org/doku.php?id=wapt
Official announcement on the forum: https://community.nethserver.org/t/neth ... ters/16399

Nethserver enables local Samba AD authentication via a samba4 AD container or remote authentication on a Microsoft AD or Samba AD server.
Locked