From: Bing Du <du...@mo...> - 2002-04-08 21:46:52
|
The schema says: attributetype ( 1.3.6.1.4.1.4391.0.303 NAME 'majorSuppress' SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 ) Comparing with other attribute definitions, I noticed that this one did not have 'EQUALITY' or 'SUBSTR' or ... as specificed in others. Wondering if this was the cause of the problem that comparison did not work. Time to bug our directory administrators? Bing Bing Du <bi...@ta..., 979-845-9577> Texas A&M University, CIS, Operating Systems, Unix On 8 Apr 2002, Kjetil Torgrim Homme wrote: > Bing Du <du...@mo...> writes: > > > dn:uid=0fe191b59b43ef9a2a5b0d468e69613b, ou=People, dc=tamu, dc=edu > > majorSuppress: TRUE > > major: BIOL > > > > $localmesg = $ld->compare($dn,attr => 'major', value => > > 'BIOL') returns 6 which is what I expected. > > > > But $localmesg = $ld->compare($dn,attr => 'majorSuppress',value => > > 'TRUE') returns 18 which translate to > > "LDAP_INAPPROPRIATE_MATCHING: Indicates that the matching rule specified > > in the search filter does not match a rule defined for the attribute's > > syntax.." > > (this error message comes from the server) > > > Where should I look? Thanks for any help! > > I'd look at the schema, it defines the matching operation which should > be used for the majorSuppress attribute. Can we have a look? > > > Kjetil T. > > |