| 1 | #===================================================== |
| 2 | # |
| 3 | # (c) 2008 Darin Perusich <darin _AT_ darins _DOT_ net> |
| 4 | # |
| 5 | # This program is free software: you can redistribute it and/or modify |
| 6 | # it under the terms of the GNU General Public License as published by |
| 7 | # the Free Software Foundation, either version 3 of the License, or |
| 8 | # (at your option) any later version. |
| 9 | # |
| 10 | # This program is distributed in the hope that it will be useful, |
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | # GNU General Public License for more details. |
| 14 | # |
| 15 | # You should have received a copy of the GNU General Public License |
| 16 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | # |
| 18 | #===================================================== |
| 19 | |
28 | | pykotaUserName: presence, equality, substring |
29 | | pykotaGroupName: presence, equality, substring |
30 | | pykotaPrinterName: presence, equality, substring |
31 | | pykotaBillingCode: presence, equality, substring |
32 | | pykotaLastJobIdent: equality |
| 47 | pykotaUserName: presence, equality, substring |
| 48 | pykotaGroupName: presence, equality, substring |
| 49 | pykotaPrinterName: presence, equality, substring |
| 50 | pykotaBillingCode: presence, equality, substring |
| 51 | pykotaLastJobIdent: equality |
74 | | This is provided with PyKota though it will need to be modified |
75 | | in order to be incorporated into your environment. Sun Directory Server |
76 | | will encrypt the userPassword entry so you may wish to leave it as |
77 | | plain text when creating the pykotaadmin and pykotauser entries. |
78 | | |
79 | | If a Password Policy is being enforced it would be advisable exclude |
80 | | both the pykotauser and pykotaadmin from that policy. This is especially |
81 | | true if passwordMustChange is set to 'On' since they will fail to authenticate |
82 | | until the password is changed. |
| 93 | This is provided with PyKota though it will need to be modified |
| 94 | in order to be incorporated into your environment. Sun Directory Server |
| 95 | will encrypt the userPassword entry so you may wish to leave it as |
| 96 | plain text when creating the pykotaadmin and pykotauser entries. |
| 97 | |
| 98 | If a Password Policy is being enforced it would be advisable exclude |
| 99 | both the pykotauser and pykotaadmin from that policy. This is especially |
| 100 | true if passwordMustChange is set to 'On' since they will fail to authenticate |
| 101 | until the password is changed. |
90 | | The provided ACI's must not be blindly added using ldapmodify or |
91 | | ldapadd, if you do so you will clobber any existing ACI's for a |
92 | | given object! You must first query the server for any existing |
93 | | ACI's and capture them to a file, append the PyKota ACI's to said |
94 | | file and then modify the object. This is especially pertinent in |
95 | | regards to ou=People which has 5 default ACI's associated with it. |
| 109 | The provided ACI's must not be blindly added using ldapmodify or |
| 110 | ldapadd, if you do so you will clobber any existing ACI's for a |
| 111 | given object! You must first query the server for any existing |
| 112 | ACI's and capture them to a file, append the PyKota ACI's to said |
| 113 | file and then modify the object. This is especially pertinent in |
| 114 | regards to ou=People which has 5 default ACI's associated with it. |
105 | | dn: ou=pykota,dc=example,dc=com |
106 | | aci: (targetattr="*") (version 3.0; acl "PyKota Pykota ACI"; allow(all) userdn="ldap:///cn=pykotaadmin,ou=PyKota,dc=example,dc=com";) |
| 124 | dn: ou=pykota,dc=example,dc=com |
| 125 | aci: (targetattr="*") (version 3.0; acl "PyKota Pykota ACI"; allow(all) userdn="ldap:///cn=pykotaadmin,ou=PyKota,dc=example,dc=com";) |
108 | | dn: ou=People,dc=example,dc=com |
109 | | aci: (targetattr="*") (version 3.0; acl "PyKota People ACI"; allow(write) userdn="ldap:///cn=pykotaadmin,ou=PyKota,dc=example,dc=com";) |
| 127 | dn: ou=People,dc=example,dc=com |
| 128 | aci: (targetattr="*") (version 3.0; acl "PyKota People ACI"; allow(add, write) userdn="ldap:///cn=pykotaadmin,ou=PyKota,dc=example,dc=com";) |
111 | | dn: ou=groups,dc=example,dc=com |
112 | | aci: (targetattr="*") (version 3.0; acl "PyKota Groups ACI"; allow(write) userdn="ldap:///cn=pykotaadmin,ou=PyKota,dc=example,dc=com";) |
| 130 | dn: ou=groups,dc=example,dc=com |
| 131 | aci: (targetattr="*") (version 3.0; acl "PyKota Groups ACI"; allow(add, write) userdn="ldap:///cn=pykotaadmin,ou=PyKota,dc=example,dc=com";) |