JLDAP
Description
Variable Summary
bool
$auth_method
string
$base_dn
string
$host
boolean
$negotiate_tls
boolean
$no_referrals
string
$password
int
$port
string
$search_string
string
$username
string
$users_dn
boolean
$use_ldapV3
string
$_dn
mixed
$_resource
Method Summary
Variables
bool
$auth_method
= null (line 28)
string
$base_dn
= null (line 34)
string
$host
= null (line 25)
boolean
$negotiate_tls
= null (line 49)
boolean
$no_referrals
= null (line 46)
string
$password
= null (line 56)
int
$port
= null (line 31)
string
$search_string
= null (line 40)
string
$username
= null (line 53)
string
$users_dn
= null (line 37)
boolean
$use_ldapV3
= null (line 43)
string
$_dn
= null (line 63)
mixed
$_resource
= null (line 60)
Methods
Constructor JLDAP (line 70)
Constructor
JLDAP
JLDAP
([object An $configObj = null])
- object An $configObj: object of configuration variables
bind (line 157)
Binds to the LDAP directory
boolean
bind
([string $username = null], [string $password = null], $nosub)
- string $username: The username
- string $password: The password
- $nosub
compare (line 234)
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
getDN (line 138)
string
getDN
()
ipToNetAddress (line 244)
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)
LDAPNetAddr (line 273)
extract readable network address from the LDAP encoded networkAddress attribute.
void
LDAPNetAddr
( $networkaddress)
- $networkaddress
search (line 189)
Perform an LDAP search
array
search
(array $filters, [string $dnoverride = null])
- array $filters: Search Filters (array of strings)
- string $dnoverride: DN Override
setDN (line 126)
Sets the DN with some template replacements
void
setDN
(string $username, $nosub)
- string $username: The username
- $nosub
simple_search (line 173)
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