Bug 124366 (DEFECT000303912)

Summary: <Superior References> Need support for ManageDsaIT control
Product: [Novell Products] NDS SDK Reporter: Jim Sermersheim <jimse>
Component: LDAP C SDKAssignee: Jeff Vincent <jvincent>
Status: VERIFIED FIXED QA Contact: Sundar Swamy <ssundar>
Severity: Minor    
Priority: P5 - None CC: aclark
Version: OCT 2006 NDKKeywords: English
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Rajkumar V 2005-10-10 22:54:43 UTC


------- Bug moved to this database by vrajkumar@novell.com 2005-10-10 16:54 -------

This bug previously known as bug DEFECT000303912 at remedy/
remedy/show_bug.cgi?id=DEFECT000303912
Originally filed under the NDS SDK product and LDAP C SDK component.

---------
<remedy_version_found_in> BLANK </remedy_version_found_in>
---------
<remedy_milestone> BLANK </remedy_milestone>
---------
<remedy_details> We need to add support for the control specified in
      <http://ietf.org/internet-drafts/draft-zeilenga-ldap-namedref-05.txt>.
This is needed for the superior references work for the Nexor X.500
gateway </remedy_details>
---------
<remedy_notes> dsteck (  7/12/02 5:31:43 PM  Testing - Submitter/Final
      ) There was no way in CLDAP to get referrals back from a synchronous
      operation.
You could get search references back in search results, or you could get
referrals back from any asynchronous operation, but you couldn't get them
from synchronous operations.

We added code to store referrals in the ld handle (like matchedDN),
and provided a new option (LDAP_GET_REFERRAL_LIST) to retrieve them.
(They should be freed with ldap_value_free.)
Unit testing done.

We decided to just doc how to create the control instead of supplying a
whole sample program.

These changes are in the CLDAP build after 6/24/2002.

dsteck (  6/17/02 1:38:01 PM  Fixing - Fix Is Ready )
Sample program dsa_cntl.c added.
Also updated ldap_oids.h and sample makefiles.
Waiting for Superior References ECR approval  before checking in.


dsteck (  6/17/02 9:52:47 AM  Fixing - New )
This control is very simple.  It contains no value, just an OID and
criticality flag.

Rather than create a new API helper function to create the control, it's
about as easy to create the control statically.  i.e.

#define ISCRITICAL 0
    LDAPControl dsaCtrl = {LDAP_CONTROL_MANAGEDSAIT, 0, NULL, ISCRITICAL};
    LDAPControl *ctrls[2] = {&dsaCtrl, NULL};

We propose to add a sample program, and doc, but not a new helper function.


 </remedy_notes>