Great, that reminds me of using a multi-valued RDN attribute for this
purpose.

dn:productID=15+productID=16+productID=17+productID=18+productID=19+productID=20+productID=21+productID=22,
<remainingPartsOfDN>
colour: White
size: small
<other attribute values>

With that, I can simply search for "(productID=18)" and it will match with
the above entry.

Is such a multi-valued RDN possible with the LDAP specification? If yes,
my requirement can be easily fulfilled with the multi-valued RDN
attribute.
But, I suppose the maximum length possible for the DN in the LDAP
add/modify request will impose a limit to this approach, because if the
range is bigger the DN string will also become bigger. Is there such a
limit exists with the LDAP server implementations(E.g.openLDAP)? Does the
LDAP specification mention anything about any such limit?

---
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.

Reply via email to