From: <mi...@st...> - 2003-03-22 13:38:37
|
Jerry, good catches. Your fixes are committed into CVS. Thanks for taking the time to report the bugs. And glad to see that someone is using ldap.schema... I couldn't get hold of a sub schema sub entry with nameForms, matchingRuleUse and so on. Therefore I'd appreciate to receive test data as LDIF. Ideally if you know a public LDAP server with those attributes set please let me know. Ciao, Michael. Jerry Lee wrote: > > I've been using your schema code and I came across the following in > models.py > > line 337: > > schema_attribute = 'matchingRuleUses' > > should read > > schema_attribute = 'matchingRuleUse' > > and > > line 352: > > assert type(self.obsolete)==type(0) and (type(self.obsolete)==0 or > type(self.obsolete)==1) > > should read > > assert type(self.obsolete)==type(0) and (self.obsolete==0 or > self.obsolete==1) > > > I'm not too sure on the second one - I don't really understand it. > However I was getting errors before the change and so I just copied the > line from the _set_attrs section of MatchinRule and I don't get errors > anymore. > > Thanks for your efforts! > > Jerry. |