From aeb0c8aae17a5ab7c15cf5b55abf8e38c75bc407 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 21 Apr 2008 08:46:40 +0000 Subject: [PATCH] Moved to new function for retrieving admin/pw git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10579 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/html/index.php b/gosa-core/html/index.php index b26380eeb..a9c1cba32 100644 --- a/gosa-core/html/index.php +++ b/gosa-core/html/index.php @@ -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'])); -- 2.30.2