Closed
Bug 7041
Opened 25 years ago
Closed 20 years ago
Trying to change location of entry using ldap_rename - incorrect LDAP result code
Categories
(Directory :: LDAP C SDK, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: pati, Assigned: mcs)
Details
From the Netscape Directory SDK 3.0 for C docummnetation I can see that the
Netscape Directory Server 3.0 currently does not support changing of location of
an entry using the 'newParent' parameter of ldap_rename.
It states that the server should return a result code of -
LDAP_UNWILLING_TO_PERFORM with the error message "server does not support
moving of entries".
However, when I try this operation, the result code that I get back is always
LDAP_PROTOCOL_ERROR. The operation I specify is as follows:
LDAP *ld;
int msgid, rc;
rc = ldap_rename(ld,
"cn=subscriber5,cn=endpoints,c=US",
"cn=subscriber50",
"cn=gateways,c=US",
TRUE,
NULL,
NULL,
msgid);
....
Is there anything wrong with the message structure or is the return result code
coming back incorrectly.
Assignee | ||
Comment 1•25 years ago
|
||
Your code snippet looks okay to me. I suspect that DS 3.0 is just returning the
wrong result code, although that surprises me. Did you enable LDAPv3 on the
client side?
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•25 years ago
|
||
Reassigning all open Directory / LDAP C SDK bugs to Michael.
Assignee: mcs → mhein
Status: ASSIGNED → NEW
Comment 3•24 years ago
|
||
This bug has not been touched for more than nine months. In most cases, that
means it has "slipped through the net". Please could the owner take a moment to
add a comment to the bug with current status, and/or close it.
Thank you :-)
Gerv
Assignee | ||
Comment 4•20 years ago
|
||
Mass reassign of 4 older LDAP C SDK bugs to mcs@pearlcrescent.com.
Assignee: mhein → mcs
Assignee | ||
Comment 5•20 years ago
|
||
Resolving as "Won't Fix" (this is a very old bug, and it sounds like a server
bug not an LDAP C SDK bug). Please reopen if necessary.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•