All users were logged out of Bugzilla on October 13th, 2018

RFE: need public APIs ldap_create_control and ldap_alloc_ber_with_options

NEW
Assigned to

Status

9 years ago
9 years ago

People

(Reporter: nhosoi, Assigned: nhosoi)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

9 years ago
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)

Updated

9 years ago
Assignee: nobody → nhosoi
(Assignee)

Comment 1

9 years ago
Created attachment 427172 [details] [diff] [review]
cvs diffs

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.