From: hickert Date: Mon, 1 Sep 2008 09:40:00 +0000 (+0000) Subject: Updated gosa.conf and class_config. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d36832b380f07f7f440eb1fdde005bc29e1a2b85;p=gosa.git 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 --- 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"; }