Welcome Guest, Not a member yet? Register   Sign In
Active Record style LDAP Class/Library
#1

[eluser]jerrac[/eluser]
Have any of you ever run into a LDAP library in the same style as Active Record?

So, to find a ldap entry by their uid, I'd say something like:
Code:
$this->ldap->get($arrayofattributes)->where('uid','23416');

To update an attribute:
Code:
$this->ldap->set('mail','[email protected]')->where('givenname','yo');

And so on.

Pear/Net_LDAP2 doesn't work like that. And it doesn't look like Zend Framework 2's LDAP library works that way either.



Messages In This Thread
Active Record style LDAP Class/Library - by El Forum - 10-04-2012, 09:14 AM
Active Record style LDAP Class/Library - by El Forum - 10-04-2012, 10:43 AM
Active Record style LDAP Class/Library - by El Forum - 10-04-2012, 10:51 AM
Active Record style LDAP Class/Library - by El Forum - 10-04-2012, 11:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB