Tariqa SOAP
|
Public Member Functions | |
__construct () | |
search ($filter, $required_attributes=false) | |
Data Fields | |
const | EC_LDAP_SERVER = "your-ldap-server" |
const | EC_LDAP_SERVER_PORT = LDAP_PORT |
const | EC_LDAP_BASE_DN = "your-ldap-base-dn" |
Static Public Attributes | |
static | $ldap_attributes |
__construct | ( | ) |
Construct a mLdap Object, using the EC Settings
search | ( | $ | filter, |
$ | required_attributes = false |
||
) |
Quick search in the directory
string | $filter | the LDAP filter. ie: (|(uid=MY_USER_ID)(cn=MY_NAME*)) |
false | array | $required_attributes | If false, retrieves default attributes, otherwise retrieve only specific attributes (the list should only contain real attributes names, as defined in the array values of $this->ldap_attributes ) |
$ldap_attributes [static] |
array( "user_id"=>"uid", "user_group"=>"cudgroup", "user_class"=>"objectclass", "title"=>"title", "first_name"=>"givenname", "last_name"=>"sn", "display_name"=>"cn", "email"=>"mail", "phone"=>"telephonenumber", "country"=>"c", "organisation"=>"sourceorganisation","directorate_general"=>"dg","directorate"=>"dir","unit"=>"div", "department"=>"departmentnumber", "manager_id"=>"manager", "building"=>"building","floor"=>"floor","office"=>"room", "address"=>"physicaldeliveryofficename", "dn"=>"dn" )
List of existing attributes to fetch. The key in the array are used as aliases to the attributes by the EC_User class
const EC_LDAP_BASE_DN = "your-ldap-base-dn" |
Base DN
const EC_LDAP_SERVER = "your-ldap-server" |
Server Host
const EC_LDAP_SERVER_PORT = LDAP_PORT |
Server Port