[1015] | 1 | # $Id$ |
---|
| 2 | |
---|
| 3 | PyKota - Print Quota for CUPS and LPRng |
---|
| 4 | |
---|
| 5 | (c) 2003 Jerome Alet <alet@librelogiciel.com> |
---|
| 6 | This program is free software; you can redistribute it and/or modify |
---|
| 7 | it under the terms of the GNU General Public License as published by |
---|
| 8 | the Free Software Foundation; either version 2 of the License, or |
---|
| 9 | (at your option) any later version. |
---|
| 10 | |
---|
| 11 | This program is distributed in the hope that it will be useful, |
---|
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 14 | GNU General Public License for more details. |
---|
| 15 | |
---|
| 16 | You should have received a copy of the GNU General Public License |
---|
| 17 | along with this program; if not, write to the Free Software |
---|
| 18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
| 19 | |
---|
| 20 | ============================================================ |
---|
| 21 | |
---|
| 22 | Documentation : |
---|
| 23 | --------------- |
---|
| 24 | |
---|
| 25 | pykota.schema : |
---|
| 26 | |
---|
| 27 | This file can be used to modify an existing LDAP directory |
---|
[1016] | 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 |
---|
[1015] | 50 | |
---|
[1016] | 51 | pykota-sample.ldif : |
---|
[1015] | 52 | |
---|
| 53 | This file represents a sample LDAP directory tree with |
---|
| 54 | PyKota functionnalities. |
---|
| 55 | |
---|
| 56 | More help will be available in the future, when this schema |
---|
| 57 | will be completed and LDAP support will be finalized. |
---|
| 58 | |
---|
| 59 | ============================================================ |
---|