From: hickert Date: Tue, 24 May 2005 11:04:05 +0000 (+0000) Subject: group and people ou, could be emtpy now X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=68eecb6d718940207322f83668f79bdb8aebce49;p=gosa.git group and people ou, could be emtpy now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@374 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/setup_checks.inc b/include/setup_checks.inc index eb9138db7..a7ec36fc2 100644 --- a/include/setup_checks.inc +++ b/include/setup_checks.inc @@ -450,8 +450,8 @@ function parse_contrib_conf() $replacements['{LDAPHOST}'] = $ldapconf['uri']; $replacements['{PASSWORD}'] = $ldapconf['password']; $replacements['{CRYPT}'] = $ldapconf['arr_cryptkeys'][$ldapconf['arr_crypts']]; - $replacements['{SID}'] = ""; - $replacements['{RIDBASE}'] = ""; + $replacements['{SID}\n'] = ""; + $replacements['{RIDBASE}\n'] = ""; $replacements['{MAILMETHOD}'] = $ldapconf['mail_methods'][$ldapconf['mail']]; $replacements['{SMBHASH}'] = $pwdhash; $replacements['{GOVERNMENTMODE}'] = "false"; @@ -471,7 +471,7 @@ function parse_contrib_conf() $possible_plugins['webdav'][] ="'\n.*.*\n'i"; - $possible_plugins['phpgroupware'][] ="'\n.*'i"; + $possible_plugins['phpgroupware'][] ="'\n.*.*\n'i"; // Header information @@ -508,7 +508,7 @@ function parse_contrib_conf() if($ldapconf['mail_methods'][$ldapconf['mail']]=="kolab") { - $replacements['{kolabAccount}'] =""; + $replacements['{kolabAccount}'] ="\n "; $replacements['{servKolab}'] =""; } @@ -868,6 +868,9 @@ function show_setup_page4($withoutput = true) // Check if all needed vars are submitted foreach($checkvars as $key) { + if($key == "peopleou") continue; + if($key == "groupou") continue; + if((isset($_POST[$key]))&&($_POST[$key]!="")) { $_SESSION['ldapconf'][$key] = $_POST[$key]; @@ -952,8 +955,6 @@ function show_setup_page5($withoutput=true) // Get ldapconf $ldapconf= $_SESSION['ldapconf']; - print_a($_SESSION); - // get smarty $smarty = get_smarty();