File: ldap-schema.rst

package info (click to toggle)
python-ldap 3.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,756 kB
  • sloc: python: 9,558; ansic: 3,052; makefile: 139; sh: 79
file content (84 lines) | stat: -rw-r--r-- 1,916 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
********************************************
:py:mod:`ldap.schema` Handling LDAPv3 schema
********************************************

.. py:module:: ldap.schema

This module deals with schema information usually retrieved from
a special subschema subentry provided by the server.
It is closely modeled along the directory information model described
in the following RFC with which you should make yourself familiar
when trying to use this module:

.. seealso::

   :rfc:`4512` - Lightweight Directory Access Protocol (LDAP): Directory Information Models


:py:mod:`ldap.schema.subentry` Processing LDAPv3 subschema subentry
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. py:module:: ldap.schema.subentry


.. py:data:: NOT_HUMAN_READABLE_LDAP_SYNTAXES

   Dictionary where the keys are the OIDs of LDAP syntaxes known to be
   not human-readable when displayed to a console without conversion
   and which cannot be decoded to a :py:data:`types.UnicodeType`.


Functions
=========

.. autofunction:: ldap.schema.subentry.urlfetch

Classes
=======

.. autoclass:: ldap.schema.subentry.SubSchema
   :members:


:py:mod:`ldap.schema.models` Schema elements
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. py:module:: ldap.schema.models


.. autoclass:: ldap.schema.models.Entry
   :members:

.. autoclass:: ldap.schema.models.SchemaElement
   :members:

.. autoclass:: ldap.schema.models.AttributeType
   :members:

.. autoclass:: ldap.schema.models.ObjectClass
   :members:

.. autoclass:: ldap.schema.models.MatchingRule
   :members:

.. autoclass:: ldap.schema.models.MatchingRuleUse
   :members:

.. autoclass:: ldap.schema.models.DITContentRule
   :members:

.. autoclass:: ldap.schema.models.NameForm
   :members:

.. autoclass:: ldap.schema.models.DITStructureRule
   :members:


.. _ldap.schema-example:

Examples for ldap.schema
^^^^^^^^^^^^^^^^^^^^^^^^

::

   import ldap.schema