Usage Scenarios
Zend_Ldap
Programmer's Reference Guide
Object oriented access to the LDAP tree using Zend_Ldap_Node
Tools
Creation and modification of DN strings
Using the filter API to create search filters
Example #1 Create simple LDAP filters
span style="color: #ff0000;">'name',
'value'
)
;
// (name=value)
'name'
,
'value'
)
;
// (name=value*)
'name'
,
'value'
)
;
// (name=*value)
'name'
,
'value'
)
;
// (name=*value*)
'name'
,
'value'
)
;
// (name>value)
'name'
,
'value'
)
;
// (name>=value)
'name'
,
'value'
)
;
// (name<value)
'name'
,
'value'
)
;
// (name<=value)
'name'
,
'value'
)
;
// (name~=value)
'name'
)
;
// (name=*)
Example #2 Create more complex LDAP filters
span style="color: #ff0000;">'name',
'value'
)
->
negate
(
)
;
// (!(name=*value))
'name'
,
'value'
'name'
,
'value'
'name'
,
'value'
)
;
// (&(name=value)(name=value*)(name=*value))
// (|(name=value)(name=value*)(name=*value))
Modify LDAP entries using the Attribute API
Usage Scenarios
Zend_Ldap
Programmer's Reference Guide
Object oriented access to the LDAP tree using Zend_Ldap_Node
Programmer's Reference Guide
Programmer's Reference Guide
Zend Framework Reference
Zend_Ldap
Introduction
API overview
Usage Scenarios
Tools
Object oriented access to the LDAP tree using Zend_Ldap_Node
Getting information from the LDAP server
Serializing LDAP data to and from LDIF