Reply with group attribute
Markus Wernig
listener at wernig.net
Fri Mar 13 21:31:35 CET 2009
tnt at kalik.net wrote:
> Did you read rlm_passwd man page?
Of course
So I put
filename "/etc/group" {
format = "My-Group-Name:::*,User-Name"
}
into /etc/freeradius/modules/passwd
and
ATTRIBUTE My-Group-Name 3000 string
into /etc/freeradius/dictionary
(btw. can't put in "Group-Name" because it seems to be already defined
somewhere else, so I suppose I should somehow be able to access it ... )
Could not find a place where to initialise the passwd module.
put
update reply {
Class := %{My-Group-Name},
Class += %{passwd:My-Group-Name},
Class += %{Group}
}
into post-auth
under freeradius -X I still get
...
expand: %{My-Group-Name} ->
WARNING: Unknown module "passwd" in string expansion
"%{passwd:My-Group-Name}"
expand: %{passwd:My-Group-Name} ->
expand: %{Group} ->
++[reply] returns noop
...
Sending Access-Accept .....
Class = 0x
Class = 0x
Class = 0x
/m
More information about the Freeradius-Users
mailing list