From d36832b380f07f7f440eb1fdde005bc29e1a2b85 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 1 Sep 2008 09:40:00 +0000 Subject: [PATCH] Updated gosa.conf and class_config. -Set sambaversion default to "3". git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12322 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/contrib/gosa.conf | 2 ++ gosa-core/include/class_config.inc | 3 +++ 2 files changed, 5 insertions(+) diff --git a/gosa-core/contrib/gosa.conf b/gosa-core/contrib/gosa.conf index db4fc5e25..25f59f696 100644 --- a/gosa-core/contrib/gosa.conf +++ b/gosa-core/contrib/gosa.conf @@ -596,6 +596,8 @@ {/if} {if $cv.samba_version != 0} sambaversion="{$cv.samba_version}" +{else} + sambaversion="3" {/if} config="ou=gosa,ou=configs,ou=systems,{$cv.base}"> diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index 5f00a2bd0..ad109f534 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -287,6 +287,9 @@ class config { { $this->current= $this->data['LOCATIONS'][$name]; + if (!isset($this->current['SAMBAVERSION'])){ + $this->current['SAMBAVERSION']= 3; + } if (!isset($this->current['PEOPLE'])){ $this->current['PEOPLE']= "ou=people"; } -- 2.30.2