28 | | to add the necessary attributes for use with PyKota. |
| 28 | to add the necessary object classes and attributes for use |
| 29 | with PyKota. |
| 30 | |
| 31 | Include it in your LDAP server's configuration. |
| 32 | For example, with OpenLDAP 2.1.17 under Debian : |
| 33 | |
| 34 | $ cp pykota.schema /etc/ldap/schema |
| 35 | |
| 36 | Then edit /etc/ldap/slapd.conf and add a line to |
| 37 | include the PyKota schema. You should have something |
| 38 | like : |
| 39 | |
| 40 | # Schema and objectClass definitions |
| 41 | include /etc/ldap/schema/core.schema |
| 42 | include /etc/ldap/schema/cosine.schema |
| 43 | include /etc/ldap/schema/nis.schema |
| 44 | include /etc/ldap/schema/inetorgperson.schema |
| 45 | include /etc/ldap/schema/pykota.schema |
| 46 | |
| 47 | Finally, restart the OpenLDAP server : |
| 48 | |
| 49 | $ /etc/init.d/slapd restart |