[python-ldap] Attribute syntax definitions
Michael Ströder
michael at stroeder.com
Thu Nov 29 22:08:30 CET 2012
nyasha.chigwamba at voss-solutions.com wrote:
> I am implementing a mini LDAP client that is schema aware.
Hmm, LDAP clients which are schema-aware don't stay "mini"... ;-)
> I am at a point
> where I can retrieve all object classes and information about their
> attributes. I have seen that for the attribute syntax, only the oid of the
> syntax is available. Is there a reference table that describes what all
> syntax oids map to. I can only find RFC 4517 (
> http://tools.ietf.org/html/rfc4517). Is this sufficient and accurate enough
> for any LDAP server type?
RFC 4517 is a good start and most server deployments do not go beyond this.
But there are vendor specific LDAPSyntax implementations with any possible OID.
What you do you want to do with LDAP syntaxes?
In general: If you want to write a truely generic schema-aware LDAP client be
prepared to get a lot of stuff you did not expect. Being the author of
web2ldap - IMHO the LDAP client with the most versatile schema support - I
went through struggling a lot with various LDAP server implementations each
with their own limitations and bugs in the schema.
Also be prepared that you're client might not be allowed to read the subschema
subentry due to access control restrictions.
Maybe you should describe in more detail what you're trying to achieve.
Ciao, Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3883 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20121129/a0842e75/attachment.bin>
More information about the python-ldap
mailing list