Open Bug 546349 Opened 14 years ago Updated 14 years ago

RFE: need public APIs ldap_create_control and ldap_alloc_ber_with_options

Categories

(Directory :: LDAP C SDK, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: nhosoi, Assigned: nhosoi)

Details

Attachments

(1 file)

LDAP C SDK provides these specific control creation APIs:
  ldap_create_sort_control
  ldap_create_userstatus_control
  ldap_create_passwordpolicy_control_ext 
  ldap_create_authzid_control 
  ldap_create_geteffectiveRights_control
  ldap_create_virtuallist_control
  ldap_create_persistentsearch_control
  ldap_create_proxiedauth_control

To support other controls such as DEREF control, we need a thin wrapper ldap_create_control and ldap_alloc_ber_with_options for nsldapi_build_control and nsldapi_alloc_ber_with_options, respectively.
Assignee: nobody → nhosoi
Attached patch cvs diffsSplinter Review
Files:
  directory/c-sdk/ldap/include/ldap-standard-tmpl.h
  directory/c-sdk/ldap/libraries/libldap.ex
  directory/c-sdk/ldap/libraries/libldap/control.c
  directory/c-sdk/ldap/libraries/libldap/request.c

Description: The patch provides public APIs ldap_create_control and ldap_alloc_ber_with_options, which is a thin wrapper of nsldapi_build_control and nsldapi_alloc_ber_with_options, respectively.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: