17c478bd9Sstevel@tonic-gate# CDDL HEADER START 27c478bd9Sstevel@tonic-gate# 37c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 445916cd2Sjpk# Common Development and Distribution License (the "License"). 545916cd2Sjpk# You may not use this file except in compliance with the License. 67c478bd9Sstevel@tonic-gate# 77c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 87c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 97c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 107c478bd9Sstevel@tonic-gate# and limitations under the License. 117c478bd9Sstevel@tonic-gate# 127c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 137c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 147c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 157c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 167c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 177c478bd9Sstevel@tonic-gate# 187c478bd9Sstevel@tonic-gate# CDDL HEADER END 197c478bd9Sstevel@tonic-gate# 20*1bc9f3f5SMilan Jurik# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 217c478bd9Sstevel@tonic-gate# 227c478bd9Sstevel@tonic-gate 237c478bd9Sstevel@tonic-gate# 247c478bd9Sstevel@tonic-gate# /etc/nsswitch.ldap: 257c478bd9Sstevel@tonic-gate# 267c478bd9Sstevel@tonic-gate# An example file that could be copied over to /etc/nsswitch.conf; it 277c478bd9Sstevel@tonic-gate# uses LDAP in conjunction with files. 287c478bd9Sstevel@tonic-gate# 297c478bd9Sstevel@tonic-gate# "hosts:" and "services:" in this file are used only if the 307c478bd9Sstevel@tonic-gate# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gate# LDAP service requires that svc:/network/ldap/client:default be enabled 337c478bd9Sstevel@tonic-gate# and online. 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate# the following two lines obviate the "+" entry in /etc/passwd and /etc/group. 367c478bd9Sstevel@tonic-gatepasswd: files ldap 377c478bd9Sstevel@tonic-gategroup: files ldap 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gate# consult /etc "files" only if ldap is down. 40*1bc9f3f5SMilan Jurikhosts: files ldap 417c478bd9Sstevel@tonic-gate 427c478bd9Sstevel@tonic-gate# Note that IPv4 addresses are searched for in all of the ipnodes databases 437c478bd9Sstevel@tonic-gate# before searching the hosts databases. 44*1bc9f3f5SMilan Jurikipnodes: files ldap 457c478bd9Sstevel@tonic-gate 46*1bc9f3f5SMilan Juriknetworks: files ldap 47*1bc9f3f5SMilan Jurikprotocols: files ldap 48*1bc9f3f5SMilan Jurikrpc: files ldap 49*1bc9f3f5SMilan Jurikethers: files ldap 50*1bc9f3f5SMilan Juriknetmasks: files ldap 51*1bc9f3f5SMilan Jurikbootparams: files ldap 52*1bc9f3f5SMilan Jurikpublickey: files ldap 537c478bd9Sstevel@tonic-gate 547c478bd9Sstevel@tonic-gatenetgroup: ldap 557c478bd9Sstevel@tonic-gate 567c478bd9Sstevel@tonic-gateautomount: files ldap 577c478bd9Sstevel@tonic-gatealiases: files ldap 587c478bd9Sstevel@tonic-gate 597c478bd9Sstevel@tonic-gate# for efficient getservbyname() avoid ldap 607c478bd9Sstevel@tonic-gateservices: files ldap 617c478bd9Sstevel@tonic-gate 627c478bd9Sstevel@tonic-gateprinters: user files ldap 637c478bd9Sstevel@tonic-gate 647c478bd9Sstevel@tonic-gateauth_attr: files ldap 657c478bd9Sstevel@tonic-gateprof_attr: files ldap 667c478bd9Sstevel@tonic-gate 677c478bd9Sstevel@tonic-gateproject: files ldap 6845916cd2Sjpk 6945916cd2Sjpktnrhtp: files ldap 7045916cd2Sjpktnrhdb: files ldap 71