I think this would be a great interface, but unfortunately, I do not
know nearly enough about LDAP to be able to presume what an OO api for
this type of service should look like..
Would anyone out there be interested in creating Zend_Ldap?
-ralph
Nico Edtinger wrote:
[17.01.2007 22:20] Bill Karwin wrote:
Andrew Yager wrote:
Does anyone (other than me) have a need for LDAP support within ZF?
If so, what form would that take? Has anyone done any work on this so
far?
Is there a better place to discuss this than fw-general?
I understand that some work is being done in the Zend_Auth component
for LDAP support.
It'd be best to discuss this component on [EMAIL PROTECTED]
But LDAP can do more than just auth. A interface similar to SimpleXML
could be useful. I.e.:
<?php
$ldap = new Zend_Ldap('localhost');
foreach($ldap['o=My
Company']['c=US']->filter('(|(sn=S*)(givenname=S*))') as $entry) {
echo $entry->givenname . "\n";
}
?>
Maybe it could also be made without depending on the LDAP module, which
is not enabled by default.
nico