annotate usr/src/cmd/netfiles/nsswitch.ad @ 14050:0c8d9998d589

3747 txg commit callbacks don't work Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Christopher Siden <christopher.siden@delphix.com>
author Will Andrews <willa@spectralogic.com>
date Tue, 11 Jun 2013 09:13:51 -0800
parents 42abce45ef67
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8040
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
1 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
2 # CDDL HEADER START
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
3 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
4 # The contents of this file are subject to the terms of the
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
5 # Common Development and Distribution License (the "License").
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
6 # You may not use this file except in compliance with the License.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
7 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
9 # or http://www.opensolaris.org/os/licensing.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
10 # See the License for the specific language governing permissions
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
11 # and limitations under the License.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
12 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
13 # When distributing Covered Code, include this CDDL HEADER in each
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
15 # If applicable, add the following below this CDDL HEADER, with the
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
16 # fields enclosed by brackets "[]" replaced with your own identifying
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
17 # information: Portions Copyright [yyyy] [name of copyright owner]
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
18 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
19 # CDDL HEADER END
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
20 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
21 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
22 # Use is subject to license terms.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
23 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
24
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
25 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
26 # /etc/nsswitch.ad:
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
27 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
28 # An example file that could be copied over to /etc/nsswitch.conf; it
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
29 # uses Microsoft's Active Directory (AD) for passwd and group; DNS for
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
30 # hosts lookups; and files for the remaining databases.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
31 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
32 # AD name service currently only supports passwd(4) and group(4)
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
33 # databases.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
34 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
35 # Other name service databases such as audit_user(4) and user_attr(4)
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
36 # that follow passwd entry in nsswitch.conf are not supported by AD.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
37 # If the AD backend is processed (based on the configuration) it will
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
38 # return NOT FOUND for these databases.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
39 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
40 # Since AD name service is not yet a complete Solaris solution, please
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
41 # add other name service(s) as appropriate to the lines in this file.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
42 #
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
43 # "hosts:" and "services:" in this file are used only if the
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
44 # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
45
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
46 # DNS service expects that an instance of svc:/network/dns/client be
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
47 # enabled and online.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
48
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
49 passwd: files ad
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
50 group: files ad
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
51
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
52 # Note that IPv4 addresses are searched for in all of the ipnodes databases
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
53 # before searching the hosts databases.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
54 hosts: files dns
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
55 ipnodes: files dns
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
56
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
57 networks: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
58 protocols: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
59 rpc: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
60 ethers: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
61 netmasks: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
62 bootparams: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
63 publickey: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
64 # At present there isn't a 'files' backend for netgroup; the system will
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
65 # figure it out pretty quickly, and won't use netgroups at all.
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
66 netgroup: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
67 automount: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
68 aliases: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
69 services: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
70 printers: user files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
71
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
72 auth_attr: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
73 prof_attr: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
74 project: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
75
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
76 tnrhtp: files
42abce45ef67 PSARC/2008/441 Active Directory name service module (nss_ad)
Baban Kenkre <Baban.Kenkre@Sun.COM>
parents:
diff changeset
77 tnrhdb: files