JLDAP
Description
Variable Summary
Method Summary
Variables
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
![](../../media/images/Variable.png)
Methods
Constructor
JLDAP
JLDAP
([object An $configObj = null])
- object An $configObj: object of configuration variables
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
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
Documentation generated on Mon, 05 Mar 2007 21:09:25 +0000 by phpDocumentor 1.3.1