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>

@@ -18,10 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
  */
 
 #ifndef _LDAP_COMMON_H
 #define _LDAP_COMMON_H
 

@@ -137,11 +138,11 @@
 extern nss_status_t     _nss_ldap_getent(ldap_backend_ptr be, void *a);
 nss_backend_t           *_nss_ldap_constr(ldap_backend_op_t ops[], int nops,
                         char *tablename, const char **attrs, fnf ldapobj2str);
 extern nss_status_t     _nss_ldap_nocb_lookup(ldap_backend_ptr be,
                         nss_XbyY_args_t *argp, char *database,
-                        char *searchfilter, char *domain,
+                        char *searchfilter, const char * const *attrs,
                         int (*init_filter_cb)(
                                 const ns_ldap_search_desc_t *desc,
                                 char **realfilter, const void *userdata),
                         const void *userdata);
 extern nss_status_t     _nss_ldap_lookup(ldap_backend_ptr be,