Searching for Objects by SID


G

Guest

Hi,

I am using LDP.exe to search the directory for objects using the SID. I have connected and bound to the directory.

In the search dialogue box I enter the SID in the format:

<SID= S-15-52ADEB9D-404331A9-74B49FF8-45D>

with the filter set to "objectclass=*"

the scope has been set to Base,One Level and Subtree without success, in Options the Attributes field is set to "*"

I get the following error:

***Searching...
ldap_search_s(ld, "<SID=S-15-52ADEB9D-404331A9-74B49FF8-45D>", 2, "objectClass=*", attrList, 0, &msg)
Error: Search: Naming Violation. <64>
Result <64>: 00000057: LdapErr: DSID-0C090563, comment: Error processing name, data 0, v893
Matched DNs:
Getting 0 entries:

Any thoughts?
 
Ad

Advertisements

M

Matjaz Ladava [MVP]

use filter like

(&(objectslass=*)(objectSID=......))

--
Regards

Matjaz Ladava, MCSE, MCSA, MCT, MVP
Microsoft MVP - Active Directory
(e-mail address removed), (e-mail address removed)
http://ladava.com

Mark said:
Hi,

I am using LDP.exe to search the directory for objects using the SID. I
have connected and bound to the directory.
In the search dialogue box I enter the SID in the format:

<SID= S-15-52ADEB9D-404331A9-74B49FF8-45D>

with the filter set to "objectclass=*"

the scope has been set to Base,One Level and Subtree without success, in
Options the Attributes field is set to "*"
I get the following error:

***Searching...
ldap_search_s(ld, "<SID=S-15-52ADEB9D-404331A9-74B49FF8-45D>", 2,
"objectClass=*", attrList, 0, &msg)
 
Ad

Advertisements

Joined
Mar 1, 2007
Messages
1
Reaction score
0
00000057: LdapErr: DSID-0C090563, comment: Error processing name, data 0, v893

Hi,
I am also facing the same issue. Modified my code like
.Filter = (&(objectslass=*)(objectSID=......)) . even though it was not working. Please suggest.

Any help would be greatly appreciated.

Error Message : There is a naming violation.

ExtendedErrorMessage : 00000057: LdapErr: DSID-0C090563, comment: Error processing name, data 0, v893


Thanks & Regards,
Sriman.
icon7.gif

 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top