Print this page
NEX-14547 Get UNIX group info. from AD/LDAP with partial RFC2307 schema
NEX-13132 smbd dumping core in nss_ldap.so.1`getbymember
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/nsswitch/ldap/common/ldap_common.h
          +++ new/usr/src/lib/nsswitch/ldap/common/ldap_common.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
  23   24   */
  24   25  
  25   26  #ifndef _LDAP_COMMON_H
  26   27  #define _LDAP_COMMON_H
  27   28  
  28   29  #ifdef  __cplusplus
  29   30  extern "C" {
  30   31  #endif
  31   32  
  32   33  #include <ctype.h>
↓ open down ↓ 99 lines elided ↑ open up ↑
 132  133  };
 133  134  
 134  135  extern nss_status_t     _nss_ldap_destr(ldap_backend_ptr be, void *a);
 135  136  extern nss_status_t     _nss_ldap_endent(ldap_backend_ptr be, void *a);
 136  137  extern nss_status_t     _nss_ldap_setent(ldap_backend_ptr be, void *a);
 137  138  extern nss_status_t     _nss_ldap_getent(ldap_backend_ptr be, void *a);
 138  139  nss_backend_t           *_nss_ldap_constr(ldap_backend_op_t ops[], int nops,
 139  140                          char *tablename, const char **attrs, fnf ldapobj2str);
 140  141  extern nss_status_t     _nss_ldap_nocb_lookup(ldap_backend_ptr be,
 141  142                          nss_XbyY_args_t *argp, char *database,
 142      -                        char *searchfilter, char *domain,
      143 +                        char *searchfilter, const char * const *attrs,
 143  144                          int (*init_filter_cb)(
 144  145                                  const ns_ldap_search_desc_t *desc,
 145  146                                  char **realfilter, const void *userdata),
 146  147                          const void *userdata);
 147  148  extern nss_status_t     _nss_ldap_lookup(ldap_backend_ptr be,
 148  149                          nss_XbyY_args_t *argp, char *database,
 149  150                          char *searchfilter, char *domain,
 150  151                          int (*init_filter_cb)(
 151  152                                  const ns_ldap_search_desc_t *desc,
 152  153                                  char **realfilter, const void *userdata),
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX