From: Graham B. <gb...@po...> - 2002-01-03 16:47:07
|
Can you supply a sample schema. Graham. On Thu, Jan 03, 2002 at 10:28:23AM -0600, Clif Harden wrote: > > This is to let everyone know that there is a problem in > the Schema.pm module that can cause attribute and objectclass > information to not be returned when requested. This in turn > can make it appear that the attribute or objectclass does not > exist. I believe someone reported this problem to the list > several weeks ago. > > I know what causes the problem but I do not have a solution to > it. The problem is the way Schema.pm changes the case of textual > information. The biggest problem that I currently know of is > with textual oids. > > Example oid: netscapeMessagingServer-oid > > When you use the items method with this oid, the method items calls > the method name2oid. The name2oid method does a perl lc command on > the OID and because of this it does not find the items information. > > The items information is stored in the schema object under the > netscapeMessagingServer-oid key. I have confirmed this using > the Data::Dumper module. > > Numerical and all lower case textual OIDs do not have this problem. > > Regards, > > Clif Harden > > |