summaryrefslogtreecommitdiffstats
path: root/pykolab/conf/defaults.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-03-23 13:16:38 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-03-23 13:16:38 +0000
commit6dce8af0d6e1677950940c11c4b25ec2d1216a79 (patch)
tree6b1c186b65a4fc97b8199124f4ea59ee909cb560 /pykolab/conf/defaults.py
parentfff400379f15390fbf90a75a1748f230bbdf0ee6 (diff)
downloadpykolab-6dce8af0d6e1677950940c11c4b25ec2d1216a79.tar.gz
Enhance configuration subsystem, and drop runtime
Diffstat (limited to 'pykolab/conf/defaults.py')
-rw-r--r--pykolab/conf/defaults.py28
1 files changed, 3 insertions, 25 deletions
diff --git a/pykolab/conf/defaults.py b/pykolab/conf/defaults.py
index af5e7e1..9e3a8ec 100644
--- a/pykolab/conf/defaults.py
+++ b/pykolab/conf/defaults.py
@@ -17,30 +17,8 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
+import logging
+
class Defaults(object):
def __init__(self, plugins=None):
- # Each possible section in the configuration has a dict here.
-
- # The default authentication mechanism
- self.kolab = {
- 'auth_mechanism': 'ldap',
- }
-
- # The default LDAP URI. Note that these are
- # prefixed with the section name.
- self.ldap = {
- 'uri': "ldap://localhost",
- 'base_dn': "dc=localhost,dc=localdomain",
- 'bind_dn': "",
- 'bind_pw': "",
- 'user_base_dn': "ou=People,%(base_dn)s",
- 'group_base_dn': "ou=Groups,%(base_dn)s",
- 'kolab_user_filter': '(objectClass=*)'
- }
-
- self.testing = {
- 'admin_password': 'secret',
- 'admin_login': 'manager',
- 'server': '127.0.0.1',
- 'users': []
- } \ No newline at end of file
+ self.loglevel = logging.CRITICAL