Installing Wapt 1.5 under Centos

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
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

January 18, 2018 - 11:03

Hello,

I installed Wapt for the first time on CentOS.
I believe I followed the installation documentation for this system to the letter.
Everything went smoothly until the Windows console installation step (https://www.wapt.fr/wapt-1.5/Configuration/index.html).

Indeed, there is no .exe file in the specified path.
During my tests with a Windows server, I remember generating the files directly from the Windows console. What about with a Linux server? Did I miss a step in the documentation?

Thank you in advance for your help.
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 18, 2018 - 2:30 PM

There is a small error in the document:

missing:

Code: Select all

yum install tis-waptsetup
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

January 18, 2018 - 2:37 PM

That definitely changes everything!
Thank you
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

January 18, 2018 - 4:29 PM

I managed to install the console with its various certificates (it wasn't the easiest thing).

During the wapt-setup installation, I got the message in a console:
"Please get login for add_host:"

I must have responded incorrectly, because it moved on to something else, but my PC isn't visible.

So I launched the register from the command line using my admin username and password, but it doesn't seem to be what's expected:
C:\Windows\system32>wapt-get register
Please get login for add_host:admin
Password:
FATAL ERROR: HTTPError: 401 Client Error: Unauthorized for url: https://xxxx/add_host

Any ideas?
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 18, 2018 - 9:55 PM

Do you want to configure workstation authentication?

Kerberos or strong authentication.

when you launch:

Code: Select all

python /opt/wapt/waptserver/scripts/postconf.py


One step offers you Waptagent authentication type.

To activate "without authentication", this is the first option
To activate Kerberos, it's the second option
To enable ID/password authentication, it's the 3rd option

Depending on the choice, the agent will ask:

- 1 nothing
- 2. Nothing if the workstation is in the domain and the WAPT server is correctly configured for Kerberos
- 3. The username and password for the wapt console
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

January 19, 2018 - 09:03

Option 2, but I only have two choices:
- Allow unauthenticated registration
- Require strong authentication...

Does this mean the Kerberos installation is faulty?
How can I check?
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

January 19, 2018 - 09:47

hasop wrote: Jan 19, 2018 - 09:03 Option 2, but I only have 2 choices:
- Allow unauthenticated registration
- Require strong authentication...

Does this mean the Kerberos installation isn't working correctly?
How can I check?
Indeed, Kerberos authentication does not seem to be working correctly.

Is the position in the right field?
hasop
Messages: 44
Registration: December 13, 2017 - 10:31

January 19, 2018 - 09:52

Normally, yes.
I just noticed that after restarting the post-installation, the "use_kerberos" parameter reverted to False.
Setting it back to True doesn't change anything, however.

Since this is an experiment, I'm going to try disabling Kerberos everywhere and switching to a basic mode.

(EDIT after some experimentation) => Registration works correctly with the following server options in waptserver.ini:
use_kerberos = False
allow_unauthenticated_registration = True
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
benoitpatin
Messages: 37
Registration: February 21, 2018 - 5:05 PM

March 9, 2018 - 12:14

Hello,

I have the same problem.
I restarted my server configuration and selected option 2, then rebooted.
I reinstalled the client on a machine that is in the domain, but I still get the "add_host" prompt.
Locked