1*7c478bd9Sstevel@tonic-gate /* 2*7c478bd9Sstevel@tonic-gate * CDDL HEADER START 3*7c478bd9Sstevel@tonic-gate * 4*7c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5*7c478bd9Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only 6*7c478bd9Sstevel@tonic-gate * (the "License"). You may not use this file except in compliance 7*7c478bd9Sstevel@tonic-gate * with the License. 8*7c478bd9Sstevel@tonic-gate * 9*7c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 11*7c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 12*7c478bd9Sstevel@tonic-gate * and limitations under the License. 13*7c478bd9Sstevel@tonic-gate * 14*7c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 15*7c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 17*7c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 18*7c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 19*7c478bd9Sstevel@tonic-gate * 20*7c478bd9Sstevel@tonic-gate * CDDL HEADER END 21*7c478bd9Sstevel@tonic-gate */ 22*7c478bd9Sstevel@tonic-gate /* 23*7c478bd9Sstevel@tonic-gate * Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved. 24*7c478bd9Sstevel@tonic-gate * Use is subject to license terms. 25*7c478bd9Sstevel@tonic-gate */ 26*7c478bd9Sstevel@tonic-gate 27*7c478bd9Sstevel@tonic-gate #ifndef _NIS_PARSE_LDAP_ERR_H 28*7c478bd9Sstevel@tonic-gate #define _NIS_PARSE_LDAP_ERR_H 29*7c478bd9Sstevel@tonic-gate 30*7c478bd9Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 31*7c478bd9Sstevel@tonic-gate 32*7c478bd9Sstevel@tonic-gate #ifdef __cplusplus 33*7c478bd9Sstevel@tonic-gate extern "C" { 34*7c478bd9Sstevel@tonic-gate #endif 35*7c478bd9Sstevel@tonic-gate 36*7c478bd9Sstevel@tonic-gate static char *parse_error_msg[] = 37*7c478bd9Sstevel@tonic-gate { 38*7c478bd9Sstevel@tonic-gate "No Error", 39*7c478bd9Sstevel@tonic-gate 40*7c478bd9Sstevel@tonic-gate /* parse_no_mem_error */ 41*7c478bd9Sstevel@tonic-gate "Insufficient memory", 42*7c478bd9Sstevel@tonic-gate 43*7c478bd9Sstevel@tonic-gate /* parse_bad_key */ 44*7c478bd9Sstevel@tonic-gate "Unknown attribute name: '%s'", 45*7c478bd9Sstevel@tonic-gate 46*7c478bd9Sstevel@tonic-gate /* parse_bad_continuation_error */ 47*7c478bd9Sstevel@tonic-gate "Unable to continue", 48*7c478bd9Sstevel@tonic-gate 49*7c478bd9Sstevel@tonic-gate /* parse_line_too_long */ 50*7c478bd9Sstevel@tonic-gate "Too long to parse", 51*7c478bd9Sstevel@tonic-gate 52*7c478bd9Sstevel@tonic-gate /* parse_internal_error */ 53*7c478bd9Sstevel@tonic-gate "An internal error occurred: '%s'", 54*7c478bd9Sstevel@tonic-gate 55*7c478bd9Sstevel@tonic-gate /* parse_initial_update_action_error */ 56*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 57*7c478bd9Sstevel@tonic-gate "The permitted values are:\n\tnone\n\tfrom_ldap\n" 58*7c478bd9Sstevel@tonic-gate "\tto_ldap", 59*7c478bd9Sstevel@tonic-gate 60*7c478bd9Sstevel@tonic-gate /* parse_initial_update_only_error */ 61*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 62*7c478bd9Sstevel@tonic-gate "The permitted values are:\n\tyes\n\tno", 63*7c478bd9Sstevel@tonic-gate 64*7c478bd9Sstevel@tonic-gate /* parse_retrieve_error_action_error */ 65*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 66*7c478bd9Sstevel@tonic-gate "The permitted values are:\n\tuse_cached\n" 67*7c478bd9Sstevel@tonic-gate "\tretry\n\ttry_again\n\tunavail\n\tno_such_name", 68*7c478bd9Sstevel@tonic-gate 69*7c478bd9Sstevel@tonic-gate /* parse_store_error_action_error */ 70*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 71*7c478bd9Sstevel@tonic-gate "The permitted values are:\n" 72*7c478bd9Sstevel@tonic-gate "\tretry\n\tsystem_error\n\tunavail", 73*7c478bd9Sstevel@tonic-gate 74*7c478bd9Sstevel@tonic-gate /* parse_refresh_error_action_error */ 75*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 76*7c478bd9Sstevel@tonic-gate "The permitted values are:\n\tcontinue_using\n" 77*7c478bd9Sstevel@tonic-gate "\tretry\n\tcontinue_using,retry\n\tcache_expired\n\ttryagain", 78*7c478bd9Sstevel@tonic-gate 79*7c478bd9Sstevel@tonic-gate /* parse_thread_create_error_action_error */ 80*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 81*7c478bd9Sstevel@tonic-gate "The permitted values are:\n" 82*7c478bd9Sstevel@tonic-gate "\tretry\n\tpass_error", 83*7c478bd9Sstevel@tonic-gate 84*7c478bd9Sstevel@tonic-gate /* parse_dump_error_action_error */ 85*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 86*7c478bd9Sstevel@tonic-gate "The permitted values are:\n\tretry\n\trollback", 87*7c478bd9Sstevel@tonic-gate 88*7c478bd9Sstevel@tonic-gate /* parse_resync_error */ 89*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 90*7c478bd9Sstevel@tonic-gate "The permitted values are:\n" 91*7c478bd9Sstevel@tonic-gate "\tdirectory_locked\n\tfrom_copy\n" 92*7c478bd9Sstevel@tonic-gate "\tfrom_live", 93*7c478bd9Sstevel@tonic-gate 94*7c478bd9Sstevel@tonic-gate /* parse_update_batching_error */ 95*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 96*7c478bd9Sstevel@tonic-gate "The permitted values are:\n" 97*7c478bd9Sstevel@tonic-gate "\taccumulate\n" 98*7c478bd9Sstevel@tonic-gate "\tbounded_accumulate\n" 99*7c478bd9Sstevel@tonic-gate "\tnone", 100*7c478bd9Sstevel@tonic-gate 101*7c478bd9Sstevel@tonic-gate /* parse_match_fetch_error */ 102*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 103*7c478bd9Sstevel@tonic-gate "The permitted values are:\n" 104*7c478bd9Sstevel@tonic-gate "\tno_match_only\n\talways\n\tnever", 105*7c478bd9Sstevel@tonic-gate 106*7c478bd9Sstevel@tonic-gate /* parse_no_object_dn */ 107*7c478bd9Sstevel@tonic-gate "No object dn specified with database id '%s'", 108*7c478bd9Sstevel@tonic-gate 109*7c478bd9Sstevel@tonic-gate /* parse_invalid_scope */ 110*7c478bd9Sstevel@tonic-gate "Invalid scope '%s'.\n" 111*7c478bd9Sstevel@tonic-gate "The permitted values are:\n" 112*7c478bd9Sstevel@tonic-gate "\tbase\n\tone\n\tsub", 113*7c478bd9Sstevel@tonic-gate 114*7c478bd9Sstevel@tonic-gate /* parse_invalid_ldap_search_filter */ 115*7c478bd9Sstevel@tonic-gate "Invalid LDAP search filter or attribute value list: '%s'", 116*7c478bd9Sstevel@tonic-gate 117*7c478bd9Sstevel@tonic-gate /* parse_semi_expected_error */ 118*7c478bd9Sstevel@tonic-gate "A semicolon was expected: '%s'", 119*7c478bd9Sstevel@tonic-gate 120*7c478bd9Sstevel@tonic-gate /* parse_mismatched_brackets */ 121*7c478bd9Sstevel@tonic-gate "Brackets mismatched: '%s'", 122*7c478bd9Sstevel@tonic-gate 123*7c478bd9Sstevel@tonic-gate /* parse_unsupported_format */ 124*7c478bd9Sstevel@tonic-gate "Unsupported format: '%s'", 125*7c478bd9Sstevel@tonic-gate 126*7c478bd9Sstevel@tonic-gate /* parse_unexpected_dash */ 127*7c478bd9Sstevel@tonic-gate "Unexpected dash: '%s'", 128*7c478bd9Sstevel@tonic-gate 129*7c478bd9Sstevel@tonic-gate /* parse_unmatched_escape */ 130*7c478bd9Sstevel@tonic-gate "Unexpected escape character: '%s'", 131*7c478bd9Sstevel@tonic-gate 132*7c478bd9Sstevel@tonic-gate /* parse_bad_lhs_format_error */ 133*7c478bd9Sstevel@tonic-gate "Could not parse attribute mapping: '%s'", 134*7c478bd9Sstevel@tonic-gate 135*7c478bd9Sstevel@tonic-gate /* parse_comma_expected_error */ 136*7c478bd9Sstevel@tonic-gate "Comma was expected: '%s'", 137*7c478bd9Sstevel@tonic-gate 138*7c478bd9Sstevel@tonic-gate /* parse_equal_expected_error */ 139*7c478bd9Sstevel@tonic-gate "Equal sign expected: '%s'", 140*7c478bd9Sstevel@tonic-gate 141*7c478bd9Sstevel@tonic-gate /* parse_close_paren_expected_error */ 142*7c478bd9Sstevel@tonic-gate "Close parentheses expected: '%s'", 143*7c478bd9Sstevel@tonic-gate 144*7c478bd9Sstevel@tonic-gate /* parse_too_many_extract_items */ 145*7c478bd9Sstevel@tonic-gate "Bad extract format: '%s'", 146*7c478bd9Sstevel@tonic-gate 147*7c478bd9Sstevel@tonic-gate /* parse_not_enough_extract_items */ 148*7c478bd9Sstevel@tonic-gate "Not enough extract parameters: '%s'", 149*7c478bd9Sstevel@tonic-gate 150*7c478bd9Sstevel@tonic-gate /* parse_bad_print_format */ 151*7c478bd9Sstevel@tonic-gate "Incorrect print format: '%s'", 152*7c478bd9Sstevel@tonic-gate 153*7c478bd9Sstevel@tonic-gate /* parse_bad_elide_char */ 154*7c478bd9Sstevel@tonic-gate "Bad elide char: '%s'", 155*7c478bd9Sstevel@tonic-gate 156*7c478bd9Sstevel@tonic-gate /* parse_start_rhs_unrecognized */ 157*7c478bd9Sstevel@tonic-gate "Could not parse attribute mapping: '%s'", 158*7c478bd9Sstevel@tonic-gate 159*7c478bd9Sstevel@tonic-gate /* parse_item_expected_error */ 160*7c478bd9Sstevel@tonic-gate "Other syntax encountered when item expected: '%s'", 161*7c478bd9Sstevel@tonic-gate 162*7c478bd9Sstevel@tonic-gate /* parse_format_string_expected_error */ 163*7c478bd9Sstevel@tonic-gate "Other syntax encountered" 164*7c478bd9Sstevel@tonic-gate " when formatspec expected: '%s'", 165*7c478bd9Sstevel@tonic-gate 166*7c478bd9Sstevel@tonic-gate /* parse_unexpected_data_end_rule */ 167*7c478bd9Sstevel@tonic-gate "Bad syntax for attribute mapping rule: '%s'", 168*7c478bd9Sstevel@tonic-gate 169*7c478bd9Sstevel@tonic-gate /* parse_bad_ttl_format_error */ 170*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 171*7c478bd9Sstevel@tonic-gate "The expected syntax is:\n" 172*7c478bd9Sstevel@tonic-gate "\tdatabaseId \":\" initialTTLlo \":\" initialTTLhi" 173*7c478bd9Sstevel@tonic-gate " \":\" runningTTL", 174*7c478bd9Sstevel@tonic-gate 175*7c478bd9Sstevel@tonic-gate /* parse_bad_auth_method_error */ 176*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 177*7c478bd9Sstevel@tonic-gate "The supported authentication methods are:\n" 178*7c478bd9Sstevel@tonic-gate "\tnone\n" 179*7c478bd9Sstevel@tonic-gate "\tsimple\n" 180*7c478bd9Sstevel@tonic-gate "\tsasl/cram-md5\n" 181*7c478bd9Sstevel@tonic-gate "\tsasl/digest-md5", 182*7c478bd9Sstevel@tonic-gate 183*7c478bd9Sstevel@tonic-gate /* parse_open_file_error */ 184*7c478bd9Sstevel@tonic-gate "Could not open: '%s'", 185*7c478bd9Sstevel@tonic-gate 186*7c478bd9Sstevel@tonic-gate /* parse_no_proxy_dn_error */ 187*7c478bd9Sstevel@tonic-gate "nisplusLDAPconfigProxyUser was not specified", 188*7c478bd9Sstevel@tonic-gate 189*7c478bd9Sstevel@tonic-gate /* parse_no_config_auth_error */ 190*7c478bd9Sstevel@tonic-gate "nisplusLDAPconfigAuthenticationMethod was not specified", 191*7c478bd9Sstevel@tonic-gate 192*7c478bd9Sstevel@tonic-gate /* parse_no_proxy_auth_error */ 193*7c478bd9Sstevel@tonic-gate "authenticationMethod was not specified", 194*7c478bd9Sstevel@tonic-gate 195*7c478bd9Sstevel@tonic-gate /* parse_ldap_init_error */ 196*7c478bd9Sstevel@tonic-gate "ldap_init failed: '%s'", 197*7c478bd9Sstevel@tonic-gate 198*7c478bd9Sstevel@tonic-gate /* parse_ldap_bind_error */ 199*7c478bd9Sstevel@tonic-gate "ldap_bind failed for '%s': %s", 200*7c478bd9Sstevel@tonic-gate 201*7c478bd9Sstevel@tonic-gate /* parse_ldap_search_error */ 202*7c478bd9Sstevel@tonic-gate "ldap_search failed: '%s'", 203*7c478bd9Sstevel@tonic-gate 204*7c478bd9Sstevel@tonic-gate /* parse_ldap_get_values_error */ 205*7c478bd9Sstevel@tonic-gate "ldap_get_values failed: '%s'", 206*7c478bd9Sstevel@tonic-gate 207*7c478bd9Sstevel@tonic-gate /* parse_object_dn_syntax_error */ 208*7c478bd9Sstevel@tonic-gate "Bad object dn syntax: '%s'", 209*7c478bd9Sstevel@tonic-gate 210*7c478bd9Sstevel@tonic-gate /* parse_invalid_dn */ 211*7c478bd9Sstevel@tonic-gate "Invalid LDAP distinguished name: '%s'", 212*7c478bd9Sstevel@tonic-gate 213*7c478bd9Sstevel@tonic-gate /* parse_bad_index_format */ 214*7c478bd9Sstevel@tonic-gate "Invalid index: '%s'", 215*7c478bd9Sstevel@tonic-gate 216*7c478bd9Sstevel@tonic-gate /* parse_bad_item_format */ 217*7c478bd9Sstevel@tonic-gate "Invalid item: '%s'", 218*7c478bd9Sstevel@tonic-gate 219*7c478bd9Sstevel@tonic-gate /* parse_bad_ldap_item_format */ 220*7c478bd9Sstevel@tonic-gate "Invalid LDAP item: '%s'", 221*7c478bd9Sstevel@tonic-gate 222*7c478bd9Sstevel@tonic-gate /* parse_invalid_print_arg */ 223*7c478bd9Sstevel@tonic-gate "Invalid argument: '%s'", 224*7c478bd9Sstevel@tonic-gate 225*7c478bd9Sstevel@tonic-gate /* parse_bad_extract_format_spec */ 226*7c478bd9Sstevel@tonic-gate "Invalid extract format encountered: '%s'", 227*7c478bd9Sstevel@tonic-gate 228*7c478bd9Sstevel@tonic-gate /* parse_no_db_del_mapping_rule */ 229*7c478bd9Sstevel@tonic-gate "The mapping '%s' rule was not found found for database id '%s'", 230*7c478bd9Sstevel@tonic-gate 231*7c478bd9Sstevel@tonic-gate /* parse_invalid_db_del_mapping_rule */ 232*7c478bd9Sstevel@tonic-gate "Invalid delete mapping rule for database id '%s'", 233*7c478bd9Sstevel@tonic-gate 234*7c478bd9Sstevel@tonic-gate /* parse_bad_domain_name */ 235*7c478bd9Sstevel@tonic-gate "Bad domain name: '%s'", 236*7c478bd9Sstevel@tonic-gate 237*7c478bd9Sstevel@tonic-gate /* parse_bad_dn */ 238*7c478bd9Sstevel@tonic-gate "Bad distinguished name: '%s'", 239*7c478bd9Sstevel@tonic-gate 240*7c478bd9Sstevel@tonic-gate /* parse_yes_or_no_expected_error */ 241*7c478bd9Sstevel@tonic-gate "yes or no expected: '%s'", 242*7c478bd9Sstevel@tonic-gate 243*7c478bd9Sstevel@tonic-gate /* parse_bad_uint_error */ 244*7c478bd9Sstevel@tonic-gate "Invalid unsigned integer: '%s'", 245*7c478bd9Sstevel@tonic-gate 246*7c478bd9Sstevel@tonic-gate /* parse_bad_int_error */ 247*7c478bd9Sstevel@tonic-gate "Invalid integer: '%s'", 248*7c478bd9Sstevel@tonic-gate 249*7c478bd9Sstevel@tonic-gate /* parse_bad_command_line_attribute_format */ 250*7c478bd9Sstevel@tonic-gate "Invalid attribute specification: '%s'", 251*7c478bd9Sstevel@tonic-gate 252*7c478bd9Sstevel@tonic-gate /* parse_no_ldap_server_error */ 253*7c478bd9Sstevel@tonic-gate "preferredServerList was not specified", 254*7c478bd9Sstevel@tonic-gate 255*7c478bd9Sstevel@tonic-gate /* parse_bad_ber_format */ 256*7c478bd9Sstevel@tonic-gate "Invalid ber format specifed: '%s'", 257*7c478bd9Sstevel@tonic-gate 258*7c478bd9Sstevel@tonic-gate /* parse_no_config_server_addr */ 259*7c478bd9Sstevel@tonic-gate "nisplusLDAPconfigDefaultServerList was not specified", 260*7c478bd9Sstevel@tonic-gate 261*7c478bd9Sstevel@tonic-gate /* parse_bad_time_error */ 262*7c478bd9Sstevel@tonic-gate "Invalid time: '%s'", 263*7c478bd9Sstevel@tonic-gate 264*7c478bd9Sstevel@tonic-gate /* parse_lhs_rhs_type_mismatch */ 265*7c478bd9Sstevel@tonic-gate "There is a mismatch in the mapping rule: '%s'", 266*7c478bd9Sstevel@tonic-gate 267*7c478bd9Sstevel@tonic-gate /* parse_only_one_match_item */ 268*7c478bd9Sstevel@tonic-gate "No match item was specified: '%s'", 269*7c478bd9Sstevel@tonic-gate 270*7c478bd9Sstevel@tonic-gate /* parse_cannot_elide */ 271*7c478bd9Sstevel@tonic-gate "Cannot elide: '%s'", 272*7c478bd9Sstevel@tonic-gate 273*7c478bd9Sstevel@tonic-gate /* parse_bad_tls_option_error */ 274*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 275*7c478bd9Sstevel@tonic-gate "The supported tls options are:\n" 276*7c478bd9Sstevel@tonic-gate "\tnone\n" 277*7c478bd9Sstevel@tonic-gate "\tssl", 278*7c478bd9Sstevel@tonic-gate 279*7c478bd9Sstevel@tonic-gate /* parse_ldapssl_client_init_error */ 280*7c478bd9Sstevel@tonic-gate "Failed to initialize SSL client: '%s'", 281*7c478bd9Sstevel@tonic-gate 282*7c478bd9Sstevel@tonic-gate /* parse_ldapssl_init_error */ 283*7c478bd9Sstevel@tonic-gate "ldapssl_init failed: '%s'", 284*7c478bd9Sstevel@tonic-gate 285*7c478bd9Sstevel@tonic-gate /* parse_no_available_referrals_error */ 286*7c478bd9Sstevel@tonic-gate "No suitable referrals found to read rpc.nisd configuration", 287*7c478bd9Sstevel@tonic-gate 288*7c478bd9Sstevel@tonic-gate /* parse_no_config_cert_db */ 289*7c478bd9Sstevel@tonic-gate "nisplusLDAPconfigTLSCertificateDBPath must be specified", 290*7c478bd9Sstevel@tonic-gate 291*7c478bd9Sstevel@tonic-gate /* parse_no_cert_db */ 292*7c478bd9Sstevel@tonic-gate "nisplusLDAPTLSCertificateDBPath must be specified", 293*7c478bd9Sstevel@tonic-gate 294*7c478bd9Sstevel@tonic-gate /* parse_unknown_yp_domain_error */ 295*7c478bd9Sstevel@tonic-gate "Unknown nisLDAPdomainContext found", 296*7c478bd9Sstevel@tonic-gate 297*7c478bd9Sstevel@tonic-gate /* parse_unexpected_yp_domain_error */ 298*7c478bd9Sstevel@tonic-gate "Incorrect syntax for nisLDAPdomainContext", 299*7c478bd9Sstevel@tonic-gate 300*7c478bd9Sstevel@tonic-gate /* parse_bad_map_error */ 301*7c478bd9Sstevel@tonic-gate "Incorrect syntax or unknown error in parsing", 302*7c478bd9Sstevel@tonic-gate 303*7c478bd9Sstevel@tonic-gate /* parse_bad_yp_comment_error */ 304*7c478bd9Sstevel@tonic-gate "Incorrect syntax for nisLDAPcommentChar", 305*7c478bd9Sstevel@tonic-gate 306*7c478bd9Sstevel@tonic-gate /* parse_bad_field_separator_error */ 307*7c478bd9Sstevel@tonic-gate "Incorrect syntax for nisLDAPrepeatedFieldSeparators", 308*7c478bd9Sstevel@tonic-gate 309*7c478bd9Sstevel@tonic-gate /* parse_bad_name_field */ 310*7c478bd9Sstevel@tonic-gate "Incorrect syntax or parse error for nisLDAPnameFields or nisLDAPsplitField", 311*7c478bd9Sstevel@tonic-gate 312*7c478bd9Sstevel@tonic-gate /* parse_yp_retrieve_error_action_error */ 313*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 314*7c478bd9Sstevel@tonic-gate "The permitted values are:\n\tuse_cached\n" 315*7c478bd9Sstevel@tonic-gate "\tfail", 316*7c478bd9Sstevel@tonic-gate 317*7c478bd9Sstevel@tonic-gate /* parse_yp_store_error_action_error */ 318*7c478bd9Sstevel@tonic-gate "Incorrect syntax: '%s'\n" 319*7c478bd9Sstevel@tonic-gate "The permitted values are:\n\tretry\n" 320*7c478bd9Sstevel@tonic-gate "\tfail" 321*7c478bd9Sstevel@tonic-gate }; 322*7c478bd9Sstevel@tonic-gate 323*7c478bd9Sstevel@tonic-gate static char *conn_error_msg[] = 324*7c478bd9Sstevel@tonic-gate { 325*7c478bd9Sstevel@tonic-gate "No Error", 326*7c478bd9Sstevel@tonic-gate 327*7c478bd9Sstevel@tonic-gate /* conn_no_mem_error */ 328*7c478bd9Sstevel@tonic-gate "get_ldap_connection: Insufficient memory", 329*7c478bd9Sstevel@tonic-gate 330*7c478bd9Sstevel@tonic-gate /* conn_ldap_init_error */ 331*7c478bd9Sstevel@tonic-gate "make_ldap_session: ldap_init failed: %s", 332*7c478bd9Sstevel@tonic-gate 333*7c478bd9Sstevel@tonic-gate /* conn_unsupported_ldap_bind_method */ 334*7c478bd9Sstevel@tonic-gate "make_ldap_session: Unsupported LDAP bind method specified", 335*7c478bd9Sstevel@tonic-gate 336*7c478bd9Sstevel@tonic-gate /* conn_ldap_bind_error */ 337*7c478bd9Sstevel@tonic-gate "make_ldap_session: ldap_bind failed for'%s': %s" 338*7c478bd9Sstevel@tonic-gate }; 339*7c478bd9Sstevel@tonic-gate 340*7c478bd9Sstevel@tonic-gate #ifdef __cplusplus 341*7c478bd9Sstevel@tonic-gate } 342*7c478bd9Sstevel@tonic-gate #endif 343*7c478bd9Sstevel@tonic-gate 344*7c478bd9Sstevel@tonic-gate #endif /* _NIS_PARSE_LDAP_ERR_H */ 345