phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_ldap.inc.php,1.101.


From: Lars Kneschke <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_ldap.inc.php,1.101.2.9,1.101.2.10
Date: Wed, 12 Mar 2003 14:00:08 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv7512

Modified Files:
      Tag: Version-0_9_14-branch
        class.accounts_ldap.inc.php 
Log Message:
make ldap saving the account status(active)


Index: class.accounts_ldap.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.accounts_ldap.inc.php,v
retrieving revision 1.101.2.9
retrieving revision 1.101.2.10
diff -C2 -r1.101.2.9 -r1.101.2.10
*** class.accounts_ldap.inc.php 18 Dec 2002 00:20:46 -0000      1.101.2.9
--- class.accounts_ldap.inc.php 12 Mar 2003 19:00:03 -0000      1.101.2.10
***************
*** 536,540 ****
                                return $account_type[$account_id];
                        }
-                       
                        $allValues = array();
                        $sri = ldap_search($this->ds, $this->user_context, 
"(&(uidnumber=$account_id)(phpgwaccounttype=u))");
--- 536,539 ----
***************
*** 748,751 ****
--- 747,753 ----
                                        $entry['objectclass'][5] = 
'shadowAccount';
                                        $entry['objectclass'][5] = 
'phpgwAccount';
+                                       $entry['phpgwaccountstatus']    = 
$account_info['account_status'];
+                                       $entry['phpgwaccounttype']      = 
$account_info['account_type'];
+                                       $entry['phpgwaccountexpires']   = 
$account_info['account_expires'];
                                }
  
***************
*** 765,770 ****
                function auto_add($accountname, $passwd, $default_prefs = 
False, $default_acls = False, $expiredate = 0, $account_status = 'A')
                {
-                       return False;
- 
                        if ($expiredate)
                        {
--- 767,770 ----





reply via email to

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