Active Directory Custom Search LDAP query?

Your LDAP query just have to specify (objectClass=group) Recall : A LDAP query is The nod from which you ask to begin the search (in your case the DN of your OU) The scope of your search (base, onelevel, subtree) The filter of your search ((objectClass=group)) The attributes you want to retreive This is what you'll find in an LDAP URL and in most of the APIs in any language. Ldap://Hote:port/base_dn? Attributs?

Scope? Filter I hope it helps JP.

(objectCategory=group)(objectClass=group)(ou=david test*) – GIBIT Mar 31 at 19:16 NO the filterjust have to be "objectClass=group". And the search have to begin in the OU you are searching. What are you using for your search?

– JPBlanc Mar 31 at 19:33 You should use objectCategory instead of objectClass since the category is single-valued and indexed (while object class isn't) – marc_s Mar 31 at 20:39 Why multi valued, versus singled valued is a criterion. If we will check definition of objectCategory in schema we will see that it is DN, and in correct format for LDAP filter we should use full DN for object class we are willing to use. Active Directory search engine simplifies this task a little and it allows usage of LDAP display name of class in such filter (objectCategory=CN=Group,CN=Schema,CN=Configuration,...).

For me objectCategory helps in filters in order to distinguish, user versus computer objects for examples that both have (objectClass=user). – JPBlanc Mar 310 at 3:48.

You did not mention what is the operation for these criteria and/or If its or (|(objectCategory=group)(ou=david test*)) It will try to find all the object either with objectcategory group or an organizational unit starting with 'david test' from the root. If its and (&(objectCategory=group)(ou=david test*)) It won't find anything because an organizational unit object category won't be a group. Instead what you can do is, set the base dn as ou=david test,... and just search for 'objectCategory=group'.

If you don't know the organizational unit dn, do a first search with the filter (ou=david test*) and get the dn and set it as base dn for the next search and now search for 'objectCategory=group.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions