Own pure Python parser for LDAPv3 schema support

Michael Ströder michael at stroeder.com
Mon Aug 12 22:42:34 CEST 2002


HI!

Please take note of the following check-ins related to LDAPv3 
schema support (see below).

Tested on various servers:
OpenLDAP 2.0/2.1
IBM SecureWay
Lotus Domino/LDAP R5(?)
Novell eDirectory 8.6.1/8.7
Novell Directory Server 4.16SP1, 5.0
Siemens Dir/X (various unknown versions)
Innosoft's IDDS 4.5.1

There still might be some detailed issues.
Reviews, profiling performance hot spots, testing, etc. is 
appreciated.

If that code works reliably I will cvs remove schema support based 
on OpenLDAP's schema parser from C _ldap.

Ciao, Michael.


-------- Original Message --------
Subject: CVS: python-ldap
Date: Mon, 12 Aug 2002 13:32:29 -0700
From: Michael Str?der <stroeder at users.sourceforge.net>
Reply-To: python-ldap-dev at lists.sourceforge.net
To: python-ldap-commits at lists.sourceforge.net

CVSROOT: 
/cvsroot/python-ldap
Module name:	python-ldap
Changes by:	stroeder	2002/08/12 13:32:29

Modified files:
	Demo           : schema.py schema_tree.py
	Lib/ldap       : schema.py

Log message:
Abandoned use of OpenLDAP's schema parser. Implemented own parsing 
with
ldap.schema.split_tokens() and ldap.schema.extract_tokens(). 
Probably bad
performance and robustness => peer review needed.

SubSchema.name2oid is now nested dictionary separated by schema 
element
classes. This was needed since schema element names are reused for 
attribute
types and object classes on e.g. Novell eDirectory.






More information about the python-ldap mailing list