Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ADsGetObject() returns an error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Daby Bo  
View profile  
 More options Apr 26 2012, 1:17 pm
Newsgroups: microsoft.public.windows.server.active_directory
From: Daby Bo <daby...@gmail.com>
Date: Thu, 26 Apr 2012 17:17:08 GMT
Local: Thurs, Apr 26 2012 1:17 pm
Subject: ADsGetObject() returns an error
Hi.

I have some problems with ADsGetObject().

ADsGetObject() returns an error: "There is a naming violation." HRESULT=0x80072037

I use it in this way:

HRESULT hResult = ADsGetObject( _T("LDAP://<SID=S-1-5-21-3090688366-220602789-926701516-1348>"), IID_IADsUser, reinterpret_cast<void**>(&ObjADs) );

This code works fine except one customer. What it could be?

BTW, something like this works good: ADsGetObject("LDAP://<GUID=.....>")

Thank you.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »