phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php,


From: nomail
Subject: [Phpgroupware-cvs] pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php, 1.2
Date: Thu, 20 May 2004 16:48:04 -0000

Update of /pbwebmaui/inc/pb.WebMAUI/lib
Modified Files:
        Branch: 
          class.mailaccount.php

date: 2004/04/19 15:35:03;  author: fipsfuchs;  state: Exp;  lines: +4 -2

Log Message:
ldap object violation for mailaccounts fixed
=====================================================================
No syntax errors detected in -
=====================================================================
Index: pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php
diff -u pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php:1.1 
pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php:1.2
--- pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php:1.1      Wed Mar 31 
08:27:37 2004
+++ pbwebmaui/inc/pb.WebMAUI/lib/class.mailaccount.php  Mon Apr 19 15:35:03 2004
@@ -360,12 +360,14 @@
 
                         $homeDir = 
$this->_homedir($this->getAttribute("domain"), $uid);
                         $entries["homeDirectory"] = $homeDir;
-                        $entries["objectClass"][]="CourierMailAccount";
+                        $entries["objectClass"][]="courierMailAccount";
+                        $entries["objectClass"][]="account";
                         //$entries["objectClass"][]="pbWebMAUIPerson";
 
                         $cn = $this->getAttribute("cn");
                         if (empty($cn))
                             $entries["cn"] = $uid;
+                                                                               
                $entries['uid'] = $uid;
 
                         if ($this->_write($newdn, $entries, true)) {
                                  exec ($cfg_courierctl['location'].' 
createmaildir '.$homeDir, $execoutput);
@@ -374,7 +376,7 @@
                     } //empty dn (new object)
                     else {
                         $entries["objectClass"][]="CourierMailAccount";
-                        //$entries["objectClass"][]="pbWebMAUIPerson";
+                        $entries["objectClass"][]="account";
                         $this->_write($dn, $entries);
                     } //!empty dn
                 } //!empty entries




reply via email to

[Prev in Thread] Current Thread [Next in Thread]