phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [bug #23929] Errors related to accounts_ldap


From: christian bac
Subject: [Phpgroupware-tracker] [bug #23929] Errors related to accounts_ldap
Date: Thu, 24 Jul 2008 13:59:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008062910 Iceweasel/3.0 (Debian-3.0~rc2-2)

URL:
  <http://savannah.gnu.org/bugs/?23929>

                 Summary: Errors related to accounts_ldap
                 Project: phpGroupWare
            Submitted by: cbac
            Submitted on: Thursday 07/24/2008 at 13:59
              Item Group: SVN trunk (dev code)
                Category: API - phpGroupware API
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
         Reproducibility: None
         Planned Release: None
           Fixed Release: 

    _______________________________________________________

Details:

see diffs to fix:

svn diff  inc/class.ofphpgwapi.inc.php
Index: inc/class.ofphpgwapi.inc.php
===================================================================
--- inc/class.ofphpgwapi.inc.php        (révision 18650)
+++ inc/class.ofphpgwapi.inc.php        (copie de travail)
@@ -144,7 +144,7 @@
                                        //fall through
 
                                case 'ldap':
-                                       include_once PHPGW_API_INC . 
"/aaccounts/class.accounts_ldap.inc.php";
+                                       include_once PHPGW_API_INC . 
"/accounts/class.accounts_ldap.inc.php";
                                        break;
 
                                default:


svn diff  inc/accounts/class.accounts_ldap.inc.php
Index: inc/accounts/class.accounts_ldap.inc.php
===================================================================
--- inc/accounts/class.accounts_ldap.inc.php    (révision 18650)
+++ inc/accounts/class.accounts_ldap.inc.php    (copie de travail)
@@ -86,6 +86,10 @@
                        parent::__construct($account_id, $account_type);
                }
 
+               public function is_ds_set()
+               {
+                 return $this->ds !== False;
+               }
                /**
                * Add an account to a group entry by adding the account name to 
the
memberuid attribute
                *
@@ -93,7 +97,7 @@
                * @param integer $groupID Group id
                * @return boolean True on success otherwise false
                */
-               public function add_account2group($account_id, $group_id)
+               public function add_user2group($account_id, $group_id)
                {
                        if ($account_id && $groupID)
                        {
@@ -130,7 +134,7 @@
                * @param integer $id Id of group/account to delete
                * @return boolean True on success otherwise false
                */
-               public function delete($id = '')
+               public function delete($id )
                {
                        $id = (int) get_account_id($id);
                        $type = $this->get_type($id);





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?23929>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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