Hello, > Note: "(!(multiAttr=value3))" is not equivalent to > "(multiAttr!=value3)"?
(&(multiAttr=*)(!(multiAttr=value3))) should do it. There is no "!=" in LDAP. Jochen. qazmlp wrote:
As I checked the RFC1558, LDAP does not seem to support the notEqual(!=) operation in the searchFilter. Assume I have the following entries in the directory server: 1) dn: rdn1=rdn1Value1, rdn2=rdn2Value1 objectclass:objectclass1 multiAttr: value1 multiAttr: value2 2) dn: rdn1=rdn1Value2, rdn2=rdn2Value2 objectclass:objectclass1 multiAttr: value3 I would like to form my search Filter so that the entries which does not have a particular value for an attribute should be selected. For example, if the searchFilter is (multiAttr!=value3), then the 1st entry should get selected. Is that possible? If not, is there any workaround to perform such an operation(Note: "(!(multiAttr=value3))" is not equivalent to "(multiAttr!=value3)"? --- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.
--- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.
