summaryrefslogtreecommitdiffstats
path: root/raddb/mods-available/etc_group
blob: 114f24a946247c58dd1a44e02fe28e32635b648a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- text -*-
#
#  $Id$

#  "passwd" configuration, for the /etc/group file. Adds a Etc-Group-Name
#  attribute for every group that the user is member of.
#
#  You will have to define the Etc-Group-Name in the 'dictionary' file
#  as a 'string' type.
#
#  The module name "etc_group" should also be listed in the "authorize"
#  section.  Make sure it's listed before any other part of the server
#  tries to use the Etc-Group-Name attribute.
#
#  The Group and Group-Name attributes are automatically created by
#  the Unix module, and do checking against /etc/group automatically.
#  This means that you CANNOT use Group or Group-Name to do any other
#  kind of grouping in the server.  You MUST define a new group
#  attribute.
#
#  i.e. this module should NOT be used as-is, but should be edited to
#  point to a different group file.
#
passwd etc_group {
	filename = /etc/group
	format = "=Etc-Group-Name:::*,User-Name"
	hash_size = 50
	ignore_nislike = yes
	allow_multiple_keys = yes
	delimiter = ":"
}