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