[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ldap-dev
Subject:    Re: ldap.schema.models bugs?
From:       Michael_Ströder <michael () stroeder ! com>
Date:       2003-03-22 13:38:29
[Download RAW message or body]

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.



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic