zendframework / zend-ldap

Ldap component from Zend Framework
BSD 3-Clause "New" or "Revised" License
29 stars 29 forks source link

No wrapper for ldap_mod_del() #4

Closed caseyfw closed 9 years ago

caseyfw commented 9 years ago

Forgive me if I'm missing something, but I can't seem to remove a user from a group using this library, or at least in a manner similar to that used in the contrib notes on this page: http://php.net/manual/en/function.ldap-mod-del.php

ThaDafinser commented 9 years ago

@caseyfw you can (as a workaround) do this:

$ldap = new \Zend\Ldap\Ldap(...);
$res = $ldap->getResource();

ldap_mod_del($res, ...);
Maks3w commented 9 years ago

Merged #6

caseyfw commented 9 years ago

Woohoo!