Łukasz, Łukasz Mierzwa wrote: > > I'm writing LDAP library (ORM without R as I call it) for python, it's using > python-ldap to do the hard work and let You manage LDAP entries in more ORM > style.
I don't have the spare time to look more closely at it not to speak of really contributing to it. So just a few general hints: 1. You're not the first one implementing such a module on top of python-ldap. You might want to dig the mailing list's archive to find others. 2. Most implementations of higher-level APIs fall short with mapping attribute type descriptors (OIDs or NAME) to Python class attribute names since they ignore the fact that there are sub-types defined in LDAP (;binary and language sub-types such as ;de-DE). Also there does not have to be a NAME in an attribute type description. So raw OIDs might be returned in a LDAP search result. 3. No implementation is dealing correctly with attribute type descriptor aliasing with OIDs and several values for NAME. You might want to look at ldap.schema.models.Entry to get an idea. Ciao, Michael. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Python-LDAP-dev mailing list Python-LDAP-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/python-ldap-dev