Your message dated Mon, 27 Nov 2006 15:32:28 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#400594: please consider adding option to enable kolab 
support
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: gosa switch for egroupware and Kolab attributes
Package: gosa
Version: 2.1.3-6
Severity: wishlist
Tag: patch

Hello Cajus,

attached is a small patch to add the needed egroupware
(www.egroupware.org) and KOLAB (http://kolab.org/) attributes
if you use both (or just one) of these groupwares and
want to have them when you add a new user.

Maybe a switch to enable/disable this in gosa.conf
would be the best but I just added it this way.

diff -ur gosa.debian/plugins/personal/generic/class_user.inc gosa.egw
+kolab/plugins/personal/generic/class_user.inc
--- gosa.debian/plugins/personal/generic/class_user.inc 2004-02-26
15:40:36.000000000 +0100
+++ gosa.egw+kolab/plugins/personal/generic/class_user.inc
2004-10-01 17:39:58.000000000 +0200
@@ -63,6 +63,15 @@
   var $role= "";
   var $publicVisible= "";

+  /* eGroupWare default attributes */
+  var $phpgwAccountExpires= "-1";
+  var $phpgwAccountStatus= "A";
+  var $phpgwAccountType= "u";
+
+  /* Kolab default attributes */
+  var $kolabHomeServer= "kolab";
+  var $kolabResourceAction= "ACT_REJECT_IF_CONFLICTS";
+
   /* variables to trigger password changes */
   var $pw_storage= "crypt";
   var $last_pw_storage= "crypt";
@@ -80,8 +89,9 @@
   var $govattrs= array("gouvernmentOrganizationalUnit",
"houseIdentifier", "vocation",
         "ivbbLastDeliveryCollective",
"gouvernmentOrganizationalPersonLocality",

"gouvernmentOrganizationalUnitDescription","gouvernmentOrganizationalUnitSubjectArea",
-       "functionalTitle", "certificateSerialNumber", "publicVisible",
"street", "role", "postalCode");
-
+        "functionalTitle", "certificateSerialNumber", "publicVisible",
"street", "role", "postalCode",
+        "phpgwAccountExpires", "phpgwAccountStatus",
"phpgwAccountType",
+        "kolabHomeServer", "kolabResourceAction");

   /* constructor, if 'dn' is set, the node loads the given
      'dn' from LDAP */
@@ -367,6 +377,8 @@
        /* Hard coded government mode? */
        if ($this->config->current['GOVERNMENTMODE'] != 'false'){
                $this->attrs['objectClass'][]= "ivbbEntry";
+        $this->attrs['objectClass'][]= "phpgwAccount";
+        $this->attrs['objectClass'][]= "kolabInetOrgPerson";

                /* Copy standard attributes */
                foreach ($this->govattrs as $val){

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


--- End Message ---
--- Begin Message ---
Hi Steffen,

this is not needed at all. Just switch your mail method in gosa.conf to
"Kolab" and you're able to manage all aspects of your kolab
installation. Accounts, lists, forwarders and even the server settings.

BTW: Can you consider removing the slapd dependency from kolabd in
unstable? It makes sense, if you use it the kolab way, but the kolab way
sucks. No one puts the LDAP to the DMZ - or on the mail server. kolabd
can be called by cron, too.

Cheers,
Cajus

Steffen Joeris schrieb:
> Package: gosa
> Severity: wishlist
>
>
> Hi Cajus
>
> How are you doing, hope you are doing well :)
> I am using gosa together with kolab here and it works fantastic.
> I was wondering if you want to add support for it into gosa.
>
> Below you can see what I added to the gosa package in sarge. Of course
> you can't include it as it is, but maybe you want to add a button or
> something else where one can enable these attributes for kolab.
>
> Cheers
> Steffen
>
> --- class_mailAccount.inc.orig  2006-11-27 13:16:11.000000000 +0000
> +++ gosa-2.3/plugins/personal/mail/class_mailAccount.inc        2006-11-27 
> 13:17:09.000000000 +0000
> @@ -56,8 +56,8 @@
>    /* attribute list for save action */
>    var $attributes= array("mail", "gosaMailServer", "gosaMailQuota", 
> "gosaMailMaxSize",
>                         "gosaMailDeliveryMode", "gosaSpamSortLevel", 
> "gosaSpamMailbox",
> -                       "gosaVacationMessage", "uid");
> -  var $objectclasses= array("gosaMailAccount");
> +                       "gosaVacationMessage", "uid", 
> "kolabInvitationPolicy", "kolabHomeServer");
> +  var $objectclasses= array("gosaMailAccount", "kolabInetOrgPerson");
>
>
>    /* constructor, if 'dn' is set, the node loads the given
>
>
>   


--- End Message ---

Reply via email to