[turba] Re: ldap driver editObject method and changing the "key"

Edward Rudd eddie at omegaware.com
Sun Jun 15 23:39:53 PDT 2003


Sorry that's the setObject method not the editObject method..

On Mon, 16 Jun 2003 01:38:22 -0500, Edward Rudd wrote:

> I'm fixing an LDAP issue in the ldap driver where when you change the cn
> attribute (which is part key in the DN) you have to rename the DN as well
> (for strict compliance with LDAPv3).. As it is right now if you run
> OpenLDAP 2.1.x as your LDAP backend and change someones name (cn
> attribute) it will not change as you'd really have to rename the DN as
> well.. the LDAP php module has a function ldap_rename which does this for
> you.. and I have the patch ALMOST ready to go except for one issue..
> ***the key***
> after I rename the DN and exit the editObject method in the driver the
> editobjectaction.php script then redisplays the edited entry.. which
> 'causes a problem as the entry does not exist anymore it has been
> renamed.. How do I change what the key is when I rename it from within the
> editObject method....




More information about the turba mailing list