Code

Moved to new function for retrieving admin/pw
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Apr 2008 08:46:40 +0000 (08:46 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Apr 2008 08:46:40 +0000 (08:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10579 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/index.php

index b26380eeb389ec89152515483ba3f3c503e03b29..a9c1cba32314f079637def394c605daf160832a4 100644 (file)
@@ -271,8 +271,8 @@ if (($_SERVER["REQUEST_METHOD"] == "POST" && isset($_POST['login'])) || $htacces
       exit()  ;
     }else{
       $cfg = array();
-      $cfg['admin']     = $config->current['ADMIN'];
-      $cfg['password']  = $config->current['PASSWORD'];
+      $cfg['admin']     = $config->get_admin_dn();
+      $cfg['password']  = $config->get_admin_password();
       $cfg['connection']= $config->current['SERVER'];
       $cfg['tls']       = $tls;
       $str = check_schema($cfg,isset($config->current['RFC2307BIS']) && preg_match("/(true|yes|on|1)/i",$config->current['RFC2307BIS']));