|
| 1 | +--- |
| 2 | +title: Status code 0x32 and you can't join a domain |
| 3 | +description: Helps resolve an issue in which you can't join a domain with status code 0x32. This issue is related to the failure to establish a Server Message Block (SMB) session to the domain controller (DC). |
| 4 | +ms.date: 03/21/2025 |
| 5 | +manager: dcscontentpm |
| 6 | +audience: itpro |
| 7 | +ms.topic: troubleshooting |
| 8 | +ms.reviewer: kaushika, raviks, v-lianna |
| 9 | +ms.custom: |
| 10 | +- sap:active directory\on-premises active directory domain join |
| 11 | +- pcy:WinComm Directory Services |
| 12 | +--- |
| 13 | +# Status code 0x32 and you can't join a domain |
| 14 | + |
| 15 | +This article helps resolve an issue in which you can't join a domain with status code 0x32. This issue is related to the failure to establish a Server Message Block (SMB) session to the domain controller (DC). |
| 16 | + |
| 17 | +You fail to join a domain and receive one of the following error messages: |
| 18 | + |
| 19 | +- > Can't join this domain. Contact your IT admin for more info. |
| 20 | +
|
| 21 | + :::image type="content" source="media/status-code-0x32-cannot-join-domain/cannot-join-domain-contact-it.png" alt-text="Screenshot of the error message showing that you can not join a domain and need to contact IT."::: |
| 22 | + |
| 23 | +- > The following error occurred attempting to join the domain "adatum.com": |
| 24 | + > |
| 25 | + > The request is not supported. |
| 26 | +
|
| 27 | + :::image type="content" source="media/status-code-0x32-cannot-join-domain/error-occurred-request-not-support.png" alt-text="Screenshot of the error message showing that an error occurred and the request is not supported."::: |
| 28 | + |
| 29 | +When you check the **NetSetup.log** file, you see the following entries: |
| 30 | + |
| 31 | +```output |
| 32 | +mm/dd/yyyy hh:mm:ss:ms NetpDsGetDcName: failed to find a DC having account 'CLIENT101$': 0x525, last error is 0x0 |
| 33 | +mm/dd/yyyy hh:mm:ss:ms NetpDsGetDcName: status of verifying DNS A record name resolution for 'AdatumDC2.adatum.com': 0x0 |
| 34 | +mm/dd/yyyy hh:mm:ss:ms NetpDsGetDcName: found DC '\\AdatumDC2.adatum.com' in the specified domain |
| 35 | +mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: NetpDsGetDcName returned: 0x0 |
| 36 | +mm/dd/yyyy hh:mm:ss:ms NetpDisableIDNEncoding: using FQDN adatum.com from dcinfo |
| 37 | +mm/dd/yyyy hh:mm:ss:ms NetpDisableIDNEncoding: DnsDisableIdnEncoding(UNTILREBOOT) on 'adatum.com' succeeded |
| 38 | +mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: NetpDisableIDNEncoding returned: 0x0 |
| 39 | +mm/dd/yyyy hh:mm:ss:ms NetUseAdd to \\AdatumDC2.adatum.com\IPC$ returned 50 |
| 40 | +mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: status of connecting to dc '\\AdatumDC2.adatum.com': 0x32 |
| 41 | +mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: Function exits with status of: 0x32 |
| 42 | +mm/dd/yyyy hh:mm:ss:ms NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'adatum.com' returned 0x0 |
| 43 | +mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: NetpResetIDNEncoding on 'adatum.com': 0x0 |
| 44 | +mm/dd/yyyy hh:mm:ss:ms NetpDoDomainJoin: status: 0x32 |
| 45 | +``` |
| 46 | + |
| 47 | +Here's more information about the error code: |
| 48 | + |
| 49 | +|HEX error |Decimal error |Symbolic error string |Error description | |
| 50 | +|---------|---------|---------|---------| |
| 51 | +|0x32 |50 |ERROR_NOT_SUPPORTED |The request is not supported. | |
| 52 | + |
| 53 | +## The security policy is set incorrectly |
| 54 | + |
| 55 | +The **NetSetup.log** file shows that the client fails to establish an SMB session with the DC. If you examine the network trace, it indicates that the DC returns STATUS_NOT_SUPPORTED to the C SESSION SETUP request from the client. The DC rejects the client's credential in the C SESSION SETUP request, which is the initial step of NT LAN Manager (NTLM) authentication. |
| 56 | + |
| 57 | +:::image type="content" source="media/status-code-0x32-cannot-join-domain/network-trace-ntlm-authentication.png" alt-text="Screenshot of the network trace showing the DC returns STATUS_NOT_SUPPORTED to the C SESSION SETUP request from the client."::: |
| 58 | + |
| 59 | +If you establish an SMB session to the DC from a workstation in the domain, it succeeds by using the hostname and fails by using the IP. |
| 60 | + |
| 61 | +:::image type="content" source="media/status-code-0x32-cannot-join-domain/succeed-hostname-fails-ip.png" alt-text="Screenshot of a command window showing that establishing an SMB session succeeds by using the hostname and fails by using the IP."::: |
| 62 | + |
| 63 | +However, the network trace pattern shows the same. It seems that the DC doesn't accept NTLM authentication. Status code 0x32 occurs because the security policy **Network security: Restrict NTLM: Incoming NTLM traffic** is incorrectly set to **Deny all accounts**. |
| 64 | + |
| 65 | +## Change the security policy setting |
| 66 | + |
| 67 | +To resolve this error, change the security policy setting to **Allow all** and refresh the group policy on that DC. |
| 68 | + |
| 69 | +## More information |
| 70 | + |
| 71 | +There are seven security policies related to NTLM. |
| 72 | + |
| 73 | +- For auditing purposes: |
| 74 | + |
| 75 | + - **Network security: Restrict NTLM: Audit Incoming NTLM Traffic** |
| 76 | + - **Network security: Restrict NTLM: Audit NTLM authentication in this domain** |
| 77 | + |
| 78 | +- For exceptions: |
| 79 | + |
| 80 | + - **Network security: Restrict NTLM: Add remote server exceptions for NTLM authentication** |
| 81 | + - **Network security: Restrict NTLM: Add server exceptions in this domain** |
| 82 | + |
| 83 | + > [!NOTE] |
| 84 | + > The two exception lists are for the client and the DC, respectively. There is no exception list for the server role in NTLM authentication. |
| 85 | +
|
| 86 | +- To control whether NTLM is allowed or not at each of the three roles in a complete NTLM authentication process: |
| 87 | + |
| 88 | + - The client, which initiates the outgoing connection using NTLM |
| 89 | + |
| 90 | + **Network security: Restrict NTLM: Outgoing NTLM traffic to remote servers** |
| 91 | + - The server, which accepts the incoming connection using NTLM |
| 92 | + |
| 93 | + **Network security: Restrict NTLM: Incoming NTLM traffic** |
| 94 | + - The DC, which validates the NTLM authentication request from the server |
| 95 | + |
| 96 | + **Network security: Restrict NTLM: NTLM authentication in this domain** |
0 commit comments