• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


#2
[eluser]PhilTem[/eluser]
I never ever heard of any library that supports such a feature. But the idea seems to be pretty awesome and might come in very handy... Maybe I'll write something (though I'm not that proficient with LDAP at all) and contribute it. Or maybe you want to write something and I may help you out Wink

#3
[eluser]jerrac[/eluser]
Heh. I only know LDAP because I was the only person availible to maintain certain directories here at work. So now I'm trying to build something to make that easier. Hence my desire for something nice like Active Record.

*wonders if he can find time to build what he wants*

#4
[eluser]PhilTem[/eluser]
[quote author="jerrac" date="1349373070"]*wonders if he can find time to build what he wants*[/quote]

Oh I know that feeling. I'm working on extending the CI base-install with many things for almost a year now. And I'm just slowly moving forwards since I don't find time to continuously work on it Tongue


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.