We want to user serverless binding, as followings.
hr = ADsGetObject(L"LDAP://rootDSE", IID_IADs, (void**)&pRootDSE);
on the AD server, this line works well. but if on a member server, this line
return ADsGetObject failed: 0x8007054b
which is Domian not found.
I've already add the member server to the domain, Who can tell me why? What
should I do to prevent this?