From 68eecb6d718940207322f83668f79bdb8aebce49 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 May 2005 11:04:05 +0000 Subject: [PATCH] group and people ou, could be emtpy now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@374 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/setup_checks.inc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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(); -- 2.30.2