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

 
 

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

bug #23929: Errors related to accounts_ldap

Submitter:  - <_66106>
Submitted:  Thu 24 Jul 2008 01:59:52 PM UTC
   
 
Category:  API - phpGroupware API Item Group:  SVN trunk (dev code)
Severity:  3 - Normal Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  None Operating System:  None
Reproducibility:  None Planned 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);

- <_66106>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _66106 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code