[RESOLVED] 2.7.0.19593 Self-Service: 403 WRONG_PASSWORD_USERNAME if UPN suffix differs from the AD domain (regression 2.6→2.7)

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
massimo
Messages: 5
Registration: Oct 02, 2026 - 09:18

October 2, 2026 - 9:26 AM

Version : 2.7.0.19593-10b94c8e (server, agent and console)
Edition: Enterprise
Server : Debian 12
Positions: Windows 11, hybrid AD + Enterprise join

Good morning,

Since the update to version 2.7.0.19593, the Self-Service feature is rejecting our standard users. It worked in version 2.6. This problem has been reproduced on our test machines with the 2.7 agent.

Context
- AD domain: domain.local (NetBIOS DOMAIN)
- User UPN: @entreprise.fr (alternative UPN suffix, Entra synchronization)
- UPN of administrative accounts: @domain.local
- default service_auth_type (filetoken)

Symptom

Code: Select all

Client Error Forbidden (403): Restricted access. WRONG_PASSWORD_USERNAME
for url: https://127.0.0.1:8088/login
In waptservice.log:

Code: Select all

WARNING local_login failed for user@domaine.local:
Forbidden, unable to find session or local profile for user user@domaine.local
Tests (all failed for an account whose UPN is @entreprise.fr)
- Automatic session (filetoken): unable to find session or local profile for user user@domain.local
- "Switch user" + user@domain.local + password: same refusal
- "Change user" + DOMAIN\user + password: same refusal (for user DOMAIN\user)
- "Switch user" + user@entreprise.fr + password: Invalid service response for GetLocalServiceToken, no token.
- service_auth_type = system: same result

On the same machine, the user_adm account (UPN user_adm@domain.local) connects without any problems.
No local accounts with the same name exist on the posts.

Analysis
The agent seems to be normalizing the name by<sAMAccountName> @<domaine DNS AD> instead of using the actual UPN (userPrincipalName) or the session SID, which fails when the UPN suffix differs from the domain. This is likely related to the new 2.7 feature "users and groups are fully qualified names for authentication and self-service ACLs (no fallback on short name)".
The topic “WAPT Selfservice: Error 666” (viewtopic.php?t=4651) perhaps describes the same case (users denied, admin accounts OK).

Questions
1. Is this behavior known, and is a fix planned?
2. Is there an agent setting that allows the actual UPN or SID of the session to be used instead of sAMAccountName@DNS_domain?

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

October 2, 2026 - 11:19

Hi Maxime,

there is indeed a bug at this level. UPN management isn't working correctly. We have an initial patch internally, and we'll get back to you very soon as it's validated.

The self-service access management has been improved to query the local LSA layer rather than Active Directory to better handle cases where corporate network connectivity is only partial or completely disconnected (the Windows LSA layer does caching and does it quite well, even if its handling of connection timeouts can be a bit erratic at times).

Sorry for the inconvenience; we need to add more UPN users to our internal tests...

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
massimo
Messages: 5
Registration: Oct 02, 2026 - 09:18

October 2, 2026 - 11:35

Hello Denis,

Thank you for your quick response and confirmation. We are available to test the patch on our test machines as soon as it is ready, if that would help you validate it.

Sincerely,
User avatar
sfonteneau
WAPT Expert
Messages: 2380
Registered: July 10, 2014 - 11:52 PM
Contact :

October 2, 2026 - 3:47 PM

Hello,

I have just released version 2.7.0.19597 which should resolve the issue (tested at another client's site).

You can try again and get back to us.
massimo
Messages: 5
Registration: Oct 02, 2026 - 09:18

October 2, 2026 - 4:20 PM

Hello,

Thank you for your quick response! After updating the server and agent, Self-Service is working again for users whose UPN is @entreprise.fr: automatic login is OK and packets are correctly filtered according to AD groups.

Thank you to you and Denis for the follow-up

. Best regards,
Locked