- Timestamp:
- 04/22/09 14:12:10 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/expressoMail1_2/1.233/inc/class.ldap_functions.inc.php
r752 r758 612 612 return false; 613 613 } 614 function uidnumber2uid($uidnumber)615 {616 // do not follow the referral617 $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 }630 614 function getSharedUsersFrom($params){ 631 615 $filter = '';
Note: See TracChangeset
for help on using the changeset viewer.