Configuring the WAPT server with Kerberos without requiring authentication
Published: January 31, 2020 - 11:12 AM
WAPT Server version: 1.8.0
WAPT Agent version: 1.8.0.6641
WAPT Setup version: 1.8.0.6641
WAPT Deploy version: 1.8.0.6641
Database status: OK (1.8.0.0)
Server OS: Linux/Debian 10.2
Operating system of the administration/package creation machine: Windows 10
Good morning,
We are currently in the testing phase of the WAPT community version solution before migrating to the Enterprise version.
I followed the following configuration:
https://www.wapt.fr/fr/doc/wapt-securit ... 20machines
in order to authenticate machines via Kerberos before they are registered.
The setup went well, but I would like to know if there is a way to set up this configuration without having to enter the admin ID to register the machine.
Should the credentials be put in the server configuration file or the client configuration file?
I tried modifying the server configuration file /opt/wapt/conf/waptserver.ini by setting the value allow_unauthenticated_registration = True
[options]
waptwua_folder = /var/www/waptwua
server_uuid = xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx
clients_signing_key = /opt/wapt/conf/ca-xxxxxxxxxxxxxx.lan.pem
clients_signing_certificate = /opt/wapt/conf/ca-xxxxxxxxxxxxx.lan.crt
wapt_password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
use_kerberos = True
allow_unauthenticated_connect = False
allow_unauthenticated_registration = True
secret_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
When I launch the WAPT server in debug mode, I get this output:
2020-01-31 10:55:08,558 DEBUG Traceback (most recent call last):
File "/opt/wapt/waptserver/server.py", line 429, in register_host
valid_auth = auth_result and auth_result['auth_method'] in ['admin','passwd','ldap','kerb']
UnboundLocalError: local variable 'auth_result' referenced before assignment
Sincerely,
Rebecca
WAPT Agent version: 1.8.0.6641
WAPT Setup version: 1.8.0.6641
WAPT Deploy version: 1.8.0.6641
Database status: OK (1.8.0.0)
Server OS: Linux/Debian 10.2
Operating system of the administration/package creation machine: Windows 10
Good morning,
We are currently in the testing phase of the WAPT community version solution before migrating to the Enterprise version.
I followed the following configuration:
https://www.wapt.fr/fr/doc/wapt-securit ... 20machines
in order to authenticate machines via Kerberos before they are registered.
The setup went well, but I would like to know if there is a way to set up this configuration without having to enter the admin ID to register the machine.
Should the credentials be put in the server configuration file or the client configuration file?
I tried modifying the server configuration file /opt/wapt/conf/waptserver.ini by setting the value allow_unauthenticated_registration = True
[options]
waptwua_folder = /var/www/waptwua
server_uuid = xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx
clients_signing_key = /opt/wapt/conf/ca-xxxxxxxxxxxxxx.lan.pem
clients_signing_certificate = /opt/wapt/conf/ca-xxxxxxxxxxxxx.lan.crt
wapt_password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
use_kerberos = True
allow_unauthenticated_connect = False
allow_unauthenticated_registration = True
secret_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
When I launch the WAPT server in debug mode, I get this output:
2020-01-31 10:55:08,558 DEBUG Traceback (most recent call last):
File "/opt/wapt/waptserver/server.py", line 429, in register_host
valid_auth = auth_result and auth_result['auth_method'] in ['admin','passwd','ldap','kerb']
UnboundLocalError: local variable 'auth_result' referenced before assignment
Sincerely,
Rebecca