| 247 | |
| 248 | # warns for new LDAP fields |
| 249 | if sb.get("storagebackend") == "ldapstorage" : |
| 250 | newuser = conf.getGlobalOption("newuser", ignore=1) |
| 251 | newgroup = conf.getGlobalOption("newgroup", ignore=1) |
| 252 | if not (newuser and newgroup) : |
| 253 | sys.stderr.write("From version 1.14 on, PyKota LDAP Support needs two additional configuration fields.\n") |
| 254 | sys.stderr.write("Please put the 'newuser' and 'newgroup' configuration fields in a [global] section in /etc/pykota/pykota.conf\n") |
| 255 | sys.stderr.write("You can look at the conf/pykota.conf.sample file for examples.\n") |
| 256 | sys.stderr.write("YOU HAVE TO DO THESE MODIFICATIONS MANUALLY, AND RESTART THE INSTALLATION.\n") |
| 257 | sys.stderr.write("INSTALLATION ABORTED BECAUSE CONFIGURATION INCOMPLETE.\n") |
| 258 | sys.exit(-1) |