From: Justin <da...@io...> - 2001-02-02 18:48:01
|
> >> Does calling $schema->item($oid) return upper- or lower-case stuff? > > > > Calling $schema->item($att, "name") returns mixed case, which is what I > > want. (where $att is one of @att, returned from $schema->attributes()). > > > > However! > > > > The Netscape Directory Server 4.12 has multiple attributetype entries for > > a given OID. "cn" and "CommonName" for example, share an OID. I believe > > this is allowed as per rfc2251 section 4.1.4. > > Yes. Attributes have zero or more names. Thanks for the clarification. Shouldn't $schema->item($attribute_oid, "name") return a list of names then? I tried @fullnames = $schema->item($attribute_oid, "name"); since the item() function is aware of list vs. syntax context but it only ever seemed to return one name per OID. Thanks for the help, Justin |