[bugs] [Bug 1286] New - renaming an entry when using openLDAP 2.1.x
fails to succeed.
bugs at bugs.horde.org
bugs at bugs.horde.org
Tue Jun 17 12:49:36 PDT 2003
http://bugs.horde.org/show_bug.cgi?id=1286
*** shadow/1286 Tue Jun 17 16:49:36 2003
--- shadow/1286.tmp.18597 Tue Jun 17 16:49:36 2003
***************
*** 0 ****
--- 1,49 ----
+ Bug#: 1286
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: Mozilla 5.x
+ OS/Version: other
+ Status: NEW
+ Resolution:
+ Severity: normal
+ Priority: P2
+ Component: Turba
+ Area: BUILD
+ AssignedTo: chuck at horde.org
+ ReportedBy: urkle at drip.ws
+ URL:
+ Summary: renaming an entry when using openLDAP 2.1.x fails to succeed.
+
+ Here is the issue I have an entry like this...
+ ---
+ DN: cn=Jane Doe, ou=Address Book,o=MyOrg,c=US objectClass: top
+ objectClass: organizationalPerson
+ objectClass: inetOrgPerson
+ cn: Jane Doe
+ sn: Doe
+ mail: jane at example.com
+ ---
+ now in Turba I'm going to rename the entry to Jane Smith. This is what the
+ current release of Turba does (both 1.2 AND CVS)
+ ---
+ DN: cn=Jane Doe, ou=Address Book,o=MyOrg,c=US objectClass: top
+ objectClass: organizationalPerson
+ objectClass: inetOrgPerson
+ cn: Jane Smith
+ sn: Doe
+ mail: jane at example.com
+ ---
+ Turba renames the CN attribute.. now this works fine on OpenLDAP 2.0.x. but
+ on 2.1.x you have to have a CN attribute that is the SAME as the cn in the
+ DN:. So what happens on 2.1.x is the name never gets changed
+
+ What my patch does is uses ldap_rename to rename the DN so it's like this.
+ (the rename also modifies the cn attribute)
+ ---
+ DN: cn=Jane Smith, ou=Address Book,o=MyOrg,c=US objectClass: top
+ objectClass: organizationalPerson
+ objectClass: inetOrgPerson
+ cn: Jane Smith
+ sn: Doe
+ mail: jane at example.com
+ ---
More information about the bugs
mailing list