Cant be - sharedDisplayName cant it?
 
(I did peek :oP)
 
CM


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Fleischman
Sent: Wednesday, May 19, 2004 6:41 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] LDAP filter

I can conceive of a scenario (maybe more, you tell me) where lDAPDisplayName is not unique.

Anyone want to take a swing at it?

 

Attached is my first answer....no peaking!

 

~Eric

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Wednesday, May 19, 2004 11:05 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] LDAP filter

 

6... heck it was like 9 when you posted that! :oP

 

WRT to objectcategory... are you testing me or looking for free research. <eg>

 

lDAPDisplayName according to MS must be unique within the schema container. Please see http://msdn.microsoft.com/library/default.asp?url=""> for details.

 

However that being said, to this point, that is considered propoganda because I have never actually tried it.

 

It was interesting when I first read your question though, my first response in my head was well it &*(^* well better be... Then I was thinking though they could get tricky with the fact that you have attribs and objects and they are used differently and the ldapdisplayname isn't the key for the rdn (i.e. cn)...

 

I had to go look. Too much thinking for the day...

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gil Kirkpatrick
Sent: Wednesday, May 19, 2004 11:40 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] LDAP filter

Hey, whaddaya want for 6 in the morning? :)

 

WRT objectCategory not being needed, is there a restriction that a classSchema object cannot have the same ldapDisplayName as an attributeSchema object?

 

-g

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Wednesday, May 19, 2004 6:51 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] LDAP filter

Hey Gil is playing today. :o)

 

Always like hearing from Gil.

 

One small typo...

 

(&(objectCategory=attributeSchema)(|(ldapDisplayName="foo")(ldapDisplayName="bar")(ldapDisplayName="baz")(ldapDisplayName="quux")))

 

  joe

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gil Kirkpatrick
Sent: Wednesday, May 19, 2004 9:23 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] LDAP filter

The objectClass _expression_ is redundant and unnecessary. Construct something like (&(objectCategory=attributeSchema)(&(ldapDisplayName="foo")(ldapDisplayName="bar")(ldapDisplayName="baz")(ldapDisplayName="quux")))

 

-gil

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Magalhaes
Sent: Wednesday, May 19, 2004 6:02 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] LDAP filter

 

Hey all,

 

Ok I have a LDAP filter that works but I am sure it can get faster, the likes of Joe , Roger etc I am sure we can make it really fast.

 

Now the point of the filter ---

 

From the schema I need to return a list of attributes that match a list of ldapdisplay names, So I immediately think something like (the example below) for a single attribute.

 

(&(objectCategory=attributeSchema)(objectClass=attributeSchema)(ldapDisplayName= " & matchldapDisplayName & "))

 

 

But to minimize the calls to the dir I need be able to dynamically specify a list that can be any amount of different attribute ldapdisplaynames.

 

For example one time I might call the filter with

 

cn

instanceType

createTimeStamp

 

And on a different call i might just call the filter with:

 

displayName

description

fromEntry

 

The number and ldapdisplaynames of the attributes are programmatically built, so i need a filter that will be able to handel this type of randomized amount of attribute ldapDisplayNames.

 

What are the methods we can use here? I am trying to return (the quickest way possible) a list of properties (the list of properties is not the problem) for the given attribute ldapDisplayNames.

 

So boys and girls what do we think (no rude answers :P)

 

carlos

 

 

 

Reply via email to