Skip to content

Commit aecf920

Browse files
author
Simonx Xu
authored
Merge pull request #8740 from v-lianna/CI_5388
AB#5388 status-code-0x3a-server-not-perform-operation.md
2 parents d7cfe71 + 6c81643 commit aecf920

3 files changed

Lines changed: 73 additions & 29 deletions

File tree

support/windows-server/active-directory/active-directory-domain-join-troubleshooting-guidance.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -218,35 +218,7 @@ When you enter the domain name, make sure you enter the DNS Domain Name rather t
218218

219219
### Error code 0x3a
220220

221-
The following error occurred when attempting to join the domain:
222-
223-
> The specified server cannot perform the requested operation.
224-
225-
:::image type="content" source="media/active-directory-domain-join-troubleshooting-guidance/error-0x3a-message.png" alt-text="Screenshot of the dialog box showing the error message for error code 0x3a.":::
226-
227-
Here's an example from the *netsetup.log* file:
228-
229-
```output
230-
mm/dd/yyyy hh:mm:ss:ms NetpLdapBind: ldap_bind failed on <dc_fqdn>: 81: Server Down
231-
mm/dd/yyyy hh:mm:ss:ms NetpJoinCreatePackagePart: status:0x3a.
232-
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: Function exits with status of: 0x3a
233-
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: status of disconnecting from '\\<dc_fqdn>': 0x0
234-
mm/dd/yyyy hh:mm:ss:ms NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on '<domain_name>' returned 0x0
235-
mm/dd/yyyy hh:mm:ss:ms NetpJoinDomainOnDs: NetpResetIDNEncoding on '<domain_name>': 0x0
236-
mm/dd/yyyy hh:mm:ss:ms NetpDoDomainJoin: status: 0x3a
237-
```
238-
239-
Error 0x3a is logged when the client computer lacks network connectivity on TCP port 389 between the client computer and the DC. To troubleshoot this issue, use the following command to test the connection:
240-
241-
```PowerShell
242-
Test-NetConnection <IP_address_of_the_DC> -Port 389
243-
```
244-
245-
Expected Output:
246-
247-
:::image type="content" source="media/active-directory-domain-join-troubleshooting-guidance/test-netconnection-output-389.png" alt-text="Screenshot that shows the Test-NetConnection command for TCP port 389 output.":::
248-
249-
It indicates that the LDAP Port TCP 389 is open between the client and the DC.
221+
For more information, see [Status code 0x3a: The specified server cannot perform the requested operation](status-code-0x3a-server-not-perform-operation.md).
250222

251223
### Error code 0x216d
252224

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
title: Status Code 0x3a
3+
description: Provides troubleshooting steps for resolving the status code 0x3a when you join a workgroup computer to a domain.
4+
ms.date: 04/23/2025
5+
manager: dcscontentpm
6+
audience: itpro
7+
ms.topic: troubleshooting
8+
ms.reviewer: kaushika, raviks, herbertm, dennhu, eriw, v-lianna
9+
ms.custom:
10+
- sap:active directory\on-premises active directory domain join
11+
- pcy:WinComm Directory Services
12+
---
13+
# Status code 0x3a: The specified server cannot perform the requested operation
14+
15+
This article provides troubleshooting steps for resolving the status code 0x3a when you join a workgroup computer to a domain.
16+
17+
When you join a workgroup computer to a domain, you receive the following error message:
18+
19+
> The following error occurred when attempting to join the domain"\<DomainName\>":
20+
>
21+
> The specified server cannot perform the requested operation.
22+
23+
When you check the **NetSetup.log** file, you see the following entries. For example:
24+
25+
```output
26+
NetpLdapBind: ldap_bind failed on <dc_fqdn>: 81: Server Down
27+
NetpJoinCreatePackagePart: status:0x3a.
28+
NetpJoinDomainOnDs: Function exits with status of: 0x3a
29+
NetpJoinDomainOnDs: status of disconnecting from '\\<dc_fqdn>': 0x0
30+
NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on '<domain_name>' returned 0x0
31+
NetpJoinDomainOnDs: NetpResetIDNEncoding on '<domain_name>': 0x0
32+
NetpDoDomainJoin: status: 0x3a
33+
```
34+
35+
## The client computer lacks network connectivity on TCP 389 port
36+
37+
Status code 0x3a is logged when the client computer lacks reliable network connectivity on Transmission Control Protocol (TCP) 389 port between the client computer and the domain controller (DC).
38+
39+
In addition to the port being blocked on a firewall, incorrect maximum transmission unit (MTU) sizes on some network devices can lead to packet loss during the domain join process and cause the domain join to fail.
40+
41+
## Test and verify the connection
42+
43+
To troubleshoot this issue, use the following steps:
44+
45+
1. Run the following cmdlet to test the connection:
46+
47+
```powershell
48+
Test-NetConnection <IP_address_of_the_DC> -Port 389
49+
```
50+
51+
The expected output is shown as follows:
52+
53+
```output
54+
ComputerName : <ComputerName>
55+
RemoteAddress : <RemoteAddress>
56+
RemotePort : 389
57+
InterfaceAlias : Ethernet 2
58+
SourceAddress : <SourceAddress>
59+
TcpTestSucceeded : True
60+
```
61+
62+
The output indicates that the Lightweight Directory Access Protocol (LDAP) port TCP 389 is open between the client and the DC.
63+
64+
2. Collect the network trace to verify the TCP 389 connection to the DC. For example, on the client machine, you might see TCP retransmissions that indicate no response is received from the DC's TCP 389 port.
65+
66+
```output
67+
CLIENT DC TCP TCP:Flags=CE....S., SrcPort=49300, DstPort=LDAP(389), PayloadLen=0, Seq=3537217409, Ack=0, Win=8192 ( Negotiating scale factor 0x8 ) = 8192 {TCP:58, IPv4:4}
68+
CLIENT DC TCP TCP:[SynReTransmit #177]Flags=CE....S., SrcPort=49300, DstPort=LDAP(389), PayloadLen=0, Seq=3537217409, Ack=0, Win=8192 ( Negotiating scale factor 0x8 ) = 8192 {TCP:58, IPv4:4}
69+
CLIENT DC TCP TCP:[SynReTransmit #177]Flags=......S., SrcPort=49300, DstPort=LDAP(389), PayloadLen=0, Seq=3537217409, Ack=0, Win=8192 ( Negotiating scale factor 0x8 ) = 8192 {TCP:58, IPv4:4}
70+
```

support/windows-server/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ items:
365365
href: ./active-directory/status-code-0x216d-not-joined-domain.md
366366
- name: Status code 0x32 and you can't join a domain
367367
href: ./active-directory/status-code-0x32-cannot-join-domain.md
368+
- name: Status code 0x3a
369+
href: ./active-directory/status-code-0x3a-server-not-perform-operation.md
368370
- name: Support boundaries for Active Directory over NAT
369371
href: ./active-directory/support-for-active-directory-over-nat.md
370372
- name: '"The account is not authorized to login from this station" error'

0 commit comments

Comments
 (0)