Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
nss(4)				 File Formats				nss(4)

       nss - configuration file	for initgroups


       The  /etc/default/nss  configuration  file  provides  methods for init-
       groups(3C) lookup method. The file also provides	a  method  to  disable
       address	sorting	by name	lookup functions. The file controls the	behav-
       ior of the name service switch routines outside of the source  database
       mappings	provided by the	/etc/nsswitch.conf file.

       /etc/default/nss	supports the following options:


	   Changes  the	 behavior of the name service lookups to use the netid
	   table in response to	the initgroups() call.	 The  netid  table  is
	   provided  by	 the  LOCAL entries of the NIS+	cred.org_dir table. By
	   default, initgroups() uses the group	table.	When  NETID_AUTHORITA-
	   TIVE	is set to TRUE,	initgroups() uses netid	as the source for sup-
	   plementary groups rather than the group table.

	   The name service administrator must ensure  that  the  netid	 table
	   contains  valid  supplementary group	information for	users. Not all
	   name	services can automatically keep	 the  members  listed  in  the
	   group table in sync with the	netid table.


	   If  this  option  is	set to FALSE, the sorting of addresses is dis-
	   abled on addresses that are returned	by name	lookup functions  such
	   as	initgroups(),	gethostbyname(3NSL),   netdir_getbyname(3NSL),
	   getaddrinfo(3SOCKET), and  getipnodebyname(3SOCKET).	 Setting  this
	   option  to  FALSE is	useful when the	order of addresses returned by
	   the nameserver needs	to be maintained. To use the DNS  round	 robin
	   feature,  for  example,  address  sorting  by name lookup functions
	   should be disabled.

	   By default, address sorting is enabled.

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE	TYPE	     |	    ATTRIBUTE VALUE	   |
       |Availability		     |SUNWcsr			   |
       |Interface Stability	     |Evolving			   |

       getaddrinfo(3SOCKET),  gethostbyname(3NSL),   getipnodebyname(3SOCKET),
       initgroups(3C), netdir_getbyname(3NSL), nsswitch.conf(4), attributes(5)

SunOS 5.10			  20 Nov 2003				nss(4)


Want to link to this manual page? Use this URL:

home | help