Changeset 1111 for pykota/trunk/setup.py
- Timestamp:
- 07/29/03 11:54:03 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/setup.py
r1105 r1111 23 23 # 24 24 # $Log$ 25 # Revision 1.22 2003/07/29 09:54:03 jalet 26 # Added configurable LDAP mail attribute support 27 # 25 28 # Revision 1.21 2003/07/28 09:11:12 jalet 26 29 # PyKota now tries to add its attributes intelligently in existing LDAP … … 248 251 # warns for new LDAP fields 249 252 if sb.get("storagebackend") == "ldapstorage" : 253 usermail = conf.getGlobalOption("usermail", ignore=1) 250 254 newuser = conf.getGlobalOption("newuser", ignore=1) 251 255 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 t woadditional 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")256 if not (usermail and newuser and newgroup) : 257 sys.stderr.write("From version 1.14 on, PyKota LDAP Support needs three additional configuration fields.\n") 258 sys.stderr.write("Please put the 'usermail', 'newuser' and 'newgroup' configuration fields in a\n[global] section in /etc/pykota/pykota.conf\n") 255 259 sys.stderr.write("You can look at the conf/pykota.conf.sample file for examples.\n") 256 260 sys.stderr.write("YOU HAVE TO DO THESE MODIFICATIONS MANUALLY, AND RESTART THE INSTALLATION.\n")