- Timestamp:
- 04/17/09 16:34:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/expressoMail1_2/1.233/inc/class.ldap_functions.inc.php
r657 r752 612 612 return false; 613 613 } 614 function uidnumber2uid($uidnumber) 615 { 616 // do not follow the referral 617 $this->ldapRootConnect(false); 618 if ($this->ds) 619 { 620 $filter="(&(phpgwAccountType=u)(uidnumber=$uidnumber))"; 621 $justthese = array("uid"); 622 $sr=@ldap_search($this->ds, $this->ldap_context, $filter, $justthese); 623 if(!$sr) 624 return false; 625 $info = ldap_get_entries($this->ds, $sr); 626 return $info[0]["uid"][0]; 627 } 628 return false; 629 } 614 630 function getSharedUsersFrom($params){ 615 631 $filter = '';
Note: See TracChangeset
for help on using the changeset viewer.