question

NavaneethR-8522 avatar image
0 Votes"
NavaneethR-8522 asked DaisyZhou-MSFT answered

ADsOpenObject() is failed with 8007203a

Hello,

ADsOpenObject() is failed with error code "8007203a" (The server is not operational).

When I call ADsOpenObject(lpszPathName, lpszUserName, lpszPassword, dwReserved, riid, **ppObject), it is failed with "8007203a", whereas the lpszPathName is like "LDAP://192.168.0.1/CN=username,CN=users,DC=AD_domain,DC=com"

If I replace with Domain controller's hostname instead of IP address like "LDAP://server01/CN=username,CN=users,DC=AD_domain,DC=com", then it succeeds.

As the target machine is hosted in Azure, we can't provide the domain controller hostname.

And my questions are,
Why ADsOpenObject is failing when we provide IP address?
Is there any alternative way to bind the objects using Domain Controller's IP address?

Thanks!

windows-serverwindows-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DaisyZhou-MSFT avatar image
0 Votes"
DaisyZhou-MSFT answered NavaneethR-8522 commented

Hello @NavaneethR-8522,

Thank you for posting here.

1.Based on the description above, what tool did you use to query the information?
2.Did you call the query on the DC or on the domain-joined machine?
3.Did you connect with 389 or 636?


Meanwhile, would you please check if you can query on DC or on one domain-joined amchine as below?

For example:

My domain is a.local.

On DC, IP address: 192.168.2.53

1.Open ldp.exe.
79093-ldp1.png

2.Connect DC IP address with 389.
79094-ldp2.png

3.Bind with Current credential.
79101-ldp3.png

4.We can see connect and bind is successful.
79017-ldp4.png

5.We can query information below.
79102-ldp5.png

6.See much information.
79018-ldp6.png


Tip:Ldp is built into Windows Server 2008. It is available if you have the AD DS server role installed. To start ldp, click Start, click Run, type ldp and then click OK.



Best Regards,
Daisy Zhou





ldp1.png (3.6 KiB)
ldp2.png (42.2 KiB)
ldp3.png (15.8 KiB)
ldp4.png (66.4 KiB)
ldp5.png (13.6 KiB)
ldp6.png (14.2 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for answering!
The issue has been resolved by providing a domain admin credential instead of normal user account!

0 Votes 0 ·
DaisyZhou-MSFT avatar image
0 Votes"
DaisyZhou-MSFT answered

Hello @NavaneethR-8522,

Thank you for your update and accepting my reply as answer. I am very glad that the information is helpful and the problem has been solved.
As always, if there is any question in future, we warmly welcome you to post in this forum again. We are happy to assist you!

Best Regards,
Daisy Zhou

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.