xref: /onnv-gate/usr/src/cmd/netfiles/nss.dfl (revision 89:ba4d0152c0bd)
1*89Smeem# ident	"%Z%%M%	%I%	%E% SMI"
2*89Smeem#
3*89Smeem# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
4*89Smeem# Use is subject to license terms.
5*89Smeem#
6*89Smeem# CDDL HEADER START
7*89Smeem#
8*89Smeem# The contents of this file are subject to the terms of the
9*89Smeem# Common Development and Distribution License, Version 1.0 only
10*89Smeem# (the "License").  You may not use this file except in compliance
11*89Smeem# with the License.
12*89Smeem#
13*89Smeem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14*89Smeem# or http://www.opensolaris.org/os/licensing.
15*89Smeem# See the License for the specific language governing permissions
16*89Smeem# and limitations under the License.
17*89Smeem#
18*89Smeem# When distributing Covered Code, include this CDDL HEADER in each
19*89Smeem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20*89Smeem# If applicable, add the following below this CDDL HEADER, with the
21*89Smeem# fields enclosed by brackets "[]" replaced with your own identifying
22*89Smeem# information: Portions Copyright [yyyy] [name of copyright owner]
23*89Smeem#
24*89Smeem# CDDL HEADER END
25*89Smeem#
26*89Smeem# NETID_AUTHORITATIVE changes the behaviour of nameservice lookups to use
27*89Smeem# the netid or group table when satisfying the initgroups() call.
28*89Smeem# The default is to use the group table, setting the value of TRUE forces
29*89Smeem# the initgroups() function call to use netid as the source for supplementary
30*89Smeem# groups rather than the group table.
31*89Smeem# It is the responsibility of the nameservice administrator to ensure that
32*89Smeem# the netid table contains valid supplementary group information for users,
33*89Smeem# not all nameservices are capable of keeping the members listed in the
34*89Smeem# groups table in sync with the netid table automatically.
35*89Smeem#
36*89Smeem#NETID_AUTHORITATIVE=TRUE
37*89Smeem#
38*89Smeem#SORT_ADDRS can be used to disable the sorting of addresses returned by
39*89Smeem#name lookup functions such as gethostbyname(), getaddrinfo(),
40*89Smeem#getipnodebyname() and netdir_getbyname().
41*89Smeem#Setting SORT_ADDRS=FALSE will disable address sorting done by those
42*89Smeem#functions. This is useful in case the order of addresses returned
43*89Smeem#by the nameserver needs to be maintained. (example: DNS round robin feature)
44*89Smeem#By default, address sorting is done.
45*89Smeem#
46*89Smeem#SORT_ADDRS=FALSE
47