summaryrefslogtreecommitdiff
path: root/usr/src/lib/nsswitch/ldap/common/ldap_common.h
diff options
context:
space:
mode:
authorJulian Pullen <Julian.Pullen@Sun.COM>2010-07-02 10:46:04 +0100
committerJulian Pullen <Julian.Pullen@Sun.COM>2010-07-02 10:46:04 +0100
commit9f2fd570dfad3c35512617ae887140b15e3ec4c5 (patch)
tree3c31e673d7b92cdd0719422693002700aa126679 /usr/src/lib/nsswitch/ldap/common/ldap_common.h
parentb1385420941f689de1d9c1c64d8c6b19b63b5b3e (diff)
downloadillumos-gate-9f2fd570dfad3c35512617ae887140b15e3ec4c5.tar.gz
6636343 The SSS control generated by "libsldap.so.1" cannot work with Active Directory in VLV searches
6929861 NS switch LDAP enumeration terminates prematurely if LDAP mandatory attributes are missing 6963912 libsldap does not work with the VLV response from Active Directory
Diffstat (limited to 'usr/src/lib/nsswitch/ldap/common/ldap_common.h')
-rw-r--r--usr/src/lib/nsswitch/ldap/common/ldap_common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/lib/nsswitch/ldap/common/ldap_common.h b/usr/src/lib/nsswitch/ldap/common/ldap_common.h
index 7d9b56613a..690dd15adc 100644
--- a/usr/src/lib/nsswitch/ldap/common/ldap_common.h
+++ b/usr/src/lib/nsswitch/ldap/common/ldap_common.h
@@ -19,8 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _LDAP_COMMON_H
@@ -69,6 +68,7 @@ extern "C" {
#define _TNRHTP "tnrhtp"
#define NSS_STR_PARSE_NO_ADDR (NSS_STR_PARSE_ERANGE + 100)
+#define NSS_STR_PARSE_NO_RESULT (NSS_STR_PARSE_ERANGE + 101)
#define DOTTEDSUBDOMAIN(string) \
((string != NULL) && (strchr(string, '.') != NULL))
@@ -118,6 +118,7 @@ struct ldap_backend {
char *tablename;
void *enumcookie;
char *filter;
+ char *sortattr;
int setcalled;
const char **attrs;
ns_ldap_result_t *result;