summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-12-04 16:36:32 -0500
committerMichael DeHaan <mdehaan@redhat.com>2007-12-04 16:36:32 -0500
commit58cae26af9b3a868041b52fc0dde6047faff73a3 (patch)
tree6ed3d21a598cfc3e513e6315d7275d2b32ff8101 /config
parent57ef142ab094e156bb25b077ce16563dfde5a8ff (diff)
downloadthird_party-cobbler-58cae26af9b3a868041b52fc0dde6047faff73a3.tar.gz
third_party-cobbler-58cae26af9b3a868041b52fc0dde6047faff73a3.tar.xz
third_party-cobbler-58cae26af9b3a868041b52fc0dde6047faff73a3.zip
AuthN/AuthZ modules are now pluggable, http://127.0.0.1/cobbler/web now active for mod_python using AuthN/AuthZ, backend now also doing AuthZ. default AuthN mechanism is using /etc/cobbler/auth.conf for now, which needs to be replaced, should use htdigest data at minimum.
Diffstat (limited to 'config')
-rw-r--r--config/cobbler.conf6
-rw-r--r--config/modules.conf5
2 files changed, 8 insertions, 3 deletions
diff --git a/config/cobbler.conf b/config/cobbler.conf
index 422420d..77bfe84 100644
--- a/config/cobbler.conf
+++ b/config/cobbler.conf
@@ -39,14 +39,14 @@ BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
AuthName Cobbler
Require valid-user
SetHandler mod_python
- PythonAccessHandler index
+
PythonAuthenHandler index
- PythonAuthZHandler index
+ #PythonAccessHandler index
+ #PythonAuthZHandler index
PythonHandler mod_python.publisher
# disable in production
PythonDebug on
- PythonAutoReload on
</Directory>
diff --git a/config/modules.conf b/config/modules.conf
index fbe710c..2d60d21 100644
--- a/config/modules.conf
+++ b/config/modules.conf
@@ -5,3 +5,8 @@ profile = serializer_yaml
system = serializer_yaml
repo = serializer_yaml
+[authentication]
+module = authn_configfile
+
+[authorization]
+module = authn_allowall