Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PF 13.1 - Machine auth fail 'The specified account does not exist.' #8136

Open
qqdog1114 opened this issue May 8, 2024 · 2 comments
Open

Comments

@qqdog1114
Copy link

When doing machine auth here is the outpout:

(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: Creating challenge hash with username: host/user-pc
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: Client is using MS-CHAPv2
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: Executing: /usr/local/pf/bin/ntlm_auth_wrapper -p 8125 -a %{PacketFence-NTLM-Auth-Host} -t %{PacketFence-NTLM-Auth-Port} --              --request-nt-key --username=%{%{control:AD-Samaccountname}:-%{mschap:User-Name:-None}} --challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00} %{PacketFence-NTLMv2-Only}:
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: EXPAND %{PacketFence-NTLM-Auth-Host}
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine:    --> 127.0.0.1
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: EXPAND %{PacketFence-NTLM-Auth-Port}
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine:    --> 5000
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: EXPAND --username=%{%{control:AD-Samaccountname}:-%{mschap:User-Name:-None}}
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine:    --> --username=user-pc$
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: Creating challenge hash with username: host/user-pc
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: EXPAND --challenge=%{mschap:Challenge:-00}
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine:    --> --challenge=1c0d051b41426b17
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: EXPAND --nt-response=%{mschap:NT-Response:-00}
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine:    --> --nt-response=000000000000000000000000000000000000000000000000
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine: EXPAND %{PacketFence-NTLMv2-Only}
(3995) Wed May  8 10:32:26 2024: Debug: chrooted_mschap_machine:    -->
(3995) Wed May  8 10:32:27 2024: Debug: chrooted_mschap_machine: Program returned code (0) and output 'The specified account does not exist.'
(3995) Wed May  8 10:32:27 2024: ERROR: chrooted_mschap_machine: Invalid output from ntlm_auth: expecting 'NT_KEY: ' prefix
(3995) Wed May  8 10:32:27 2024: ERROR: chrooted_mschap_machine: MS-CHAP2-Response is incorrect

@stgmsa
Copy link
Contributor

stgmsa commented May 8, 2024

Hi, can you confirm if the machine account exists on the domain controller ?
or if it's under a specific OU ?

@qqdog1114
Copy link
Author

Hi
this machine is not exists on the domain controller,
but the records don’t seem to have reached the stage of verifying the machine.
The record looks like it hasn't touched the profile I created yet.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants