diff --git a/lib/config-template.php b/lib/config-template.php
index bb0a3101b1ee3c8e10f0a2e815c9ea3f67e5c73c..61665272f8901e661ba5249fe94bdde5a36be4c0 100644
--- a/lib/config-template.php
+++ b/lib/config-template.php
@@ -18,7 +18,7 @@ define('DB_DATABASE','edugain');
 
 // Validator locations
 define('VALIDATOR_REQ','http://localhost:5000/validate?r=');
-define('VALIDATOR_TMP', '/srv/edugain.config/mds/tmp');
+define('VALIDATOR_TMP', '/srv/edugain.tmp/validator');
 
 // details of simpleSAMLphp for management login