- Timestamp:
- 09/12/08 16:56:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.accounts_ldap.inc.php
r397 r425 1099 1099 1100 1100 /* jakjr: using justthese with ldap_search */ 1101 $justthese = array("cn","uid","given ame","sn");1101 $justthese = array("cn","uid","givenname","sn"); 1102 1102 1103 1103 /* search the dn for the given uid */ … … 1108 1108 else 1109 1109 { 1110 $sri = @ldap_search($this->ds, $this->user_context, '(&( gidnumber=' . (int)$account_id . ')(phpgwAccountType=g))', $justthese);1110 $sri = @ldap_search($this->ds, $this->user_context, '(&(uidnumber=' . (int)$account_id . ')(phpgwAccountType=u))', $justthese); 1111 1111 } 1112 1112 if(!$sri)
Note: See TracChangeset
for help on using the changeset viewer.