JLDAP
Description
LDAP client class
Located in /joomla/client/ldap.php (line 22)
JObject (Subpackage Base)
![]()
JLDAP (Subpackage Client)
Variable Summary
Method Summary
Variables
bool
$auth_method
= null (line 29)
string
$base_dn
= null (line 35)
string
$host
= null (line 26)
boolean
$negotiate_tls
= null (line 50)
boolean
$no_referrals
= null (line 47)
string
$password
= null (line 57)
int
$port
= null (line 32)
string
$search_string
= null (line 41)
string
$username
= null (line 54)
string
$users_dn
= null (line 38)
boolean
$use_ldapV3
= null (line 44)
string
$_dn
= null (line 64)
mixed
$_resource
= null (line 61)
Inherited Variables
Inherited from JObject
JObject::$_errors
Methods
Constructor
JLDAP
__construct
([object An $configObj = null])
- object An $configObj: object of configuration variables
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
Binds to the LDAP directory
boolean
bind
([string $username = null], [string $password = null], $nosub)
- string $username: The username
- string $password: The password
- $nosub
Compare an entry and return a true or false result
mixed
compare
(string $dn, string $attribute, string $value)
- string $dn: dn The DN which contains the attribute you want to compare
- string $attribute: attribute The attribute whose value you want to compare
- string $value: value The value you want to check against the LDAP attribute
string
getDN
()
Converts a dot notation IP address to net address (e.g. for Netware, etc)
string
ipToNetAddress
(string $ip)
- string $ip: IP Address (e.g. xxx.xxx.xxx.xxx)
extract readable network address from the LDAP encoded networkAddress attribute.
void
LDAPNetAddr
( $networkaddress)
- $networkaddress
Modifies an entry and return a true or false result
mixed
modify
(string $dn, string $attribute)
- string $dn: dn The DN which contains the attribute you want to modify
- string $attribute: attribute The attribute values you want to modify
Read all or specified attributes of given dn
array
read
(string $dn, [string $attribute = array()])
- string $dn: dn The DN of the object you want to read
- string $attribute: attribute The attribute values you want to read (Optional)
Removes attribute value from given dn and return a true or false result
mixed
remove
(string $dn, string $attribute)
- string $dn: dn The DN which contains the attribute you want to remove
- string $attribute: attribute The attribute values you want to remove
Replace an entry and return a true or false result
mixed
replace
(string $dn, string $attribute)
- string $dn: dn The DN which contains the attribute you want to replace
- string $attribute: attribute The attribute values you want to replace
Perform an LDAP search
array
search
(array $filters, [string $dnoverride = null])
- array $filters: Search Filters (array of strings)
- string $dnoverride: DN Override
Sets the DN with some template replacements
void
setDN
(string $username, $nosub)
- string $username: The username
- $nosub
Perform an LDAP search using comma seperated search strings
void
simple_search
(string $search)
- string $search: search string of search values
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
Documentation generated on Tue, 29 Jan 2008 18:48:09 +0000 by phpDocumentor 1.3.1



