[turba] [patch] ldap_rename when key changes

Chuck Hagenbuch chuck at horde.org
Fri Feb 20 11:43:52 PST 2004


Quoting Tarjei Huse <tarjei+a_lists.phpgw at nu.no>:

> The attached patch to the turba ldapdriver does a ldap_rename() if the
> key (i.e. the dn of the ldapentry) has changed.
>
> The only problem I have is making the change known to the Turba_Object
> with the consequence that the $object->getValue('name') call in edit.php
> returns the old objectid. This causes the user to be redirected to a
> nonexisting object - thus producing an error.
>
> I would appreciate if someone with a good knowledge of Turba could tell
> me the correct way to notify the Turba_Object that the id has changed.

Try what I just committed (which included your patch). Thanks!

-chuck

--
"Here, I brought some cole slaw. It's made from peeeooople! Just kidding."


More information about the turba mailing list