bugphpGroupWare - Bugs: bug #23929, Errors related to accounts_ldap

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #23929: Errors related to accounts_ldap

Submitted by:  christian bac <cbac>
Submitted on:  Thu 24 Jul 2008 01:59:52 PM UTC  
 
Item Group: SVN trunk (dev code)Category: API - phpGroupware API
Severity: 3 - NormalPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: NoneOperating System: None
Reproducibility: NonePlanned Release: None
Fixed Release: 

Thu 24 Jul 2008 01:59:52 PM UTC, original submission:

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);

christian bac <cbac>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cbac (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup