Re: Local groups in FreeRadius ?

2006-08-28 Thread Ami Schieber
Alan, I'm using the man rlm_passwd examples and the examples within radiusd.conf and still I can't manage to make User-Group membership to work. Here's my config: in radiusd.conf : passwd MyGroup { filename = /etc/MyGroup format = ~Group-Name:::*,User-Name hashsize = 50 ignoreislike = yes

Re: Local groups in FreeRadius ?

2006-08-28 Thread Phil Mayers
Ami Schieber wrote: passwd MyGroup { filename = /etc/MyGroup format = ~Group-Name:::*,User-Name hashsize = 50 ignoreislike = yes allowmultiplekeys = yes My /etc/MyGroup file : FIGrp:::*,Ami FIGrp:::*,John No.

Re: Local groups in FreeRadius ?

2006-08-28 Thread Ami Schieber
Phil, Thanks for your help. Can you also explain what format should the users file use ? Currently, I've tried : Ami User-Password == ami123 Service-Type = Framed-User, Framed-Protocol = PPP, Fall-Through = Yes FIGrp Auth-Type := Local, MyGroup-Name := FIGrp Reply-Message = Hello from

Re: Local groups in FreeRadius ?

2006-08-28 Thread Alan DeKok
Ami Schieber [EMAIL PROTECTED] wrote: I'm still unable to see a match to the Group entry when I run radiusd -X but only to the user and to DEFAULT entries : users: Matched entry Ami at line 1 users: Matched entry DEFAULT at line 20 You're not trying to match the group name. See man users

Re: Local groups in FreeRadius ?

2006-08-28 Thread Ami Schieber
On 8/28/06, Alan DeKok [EMAIL PROTECTED] wrote: Ami Schieber [EMAIL PROTECTED] wrote: I'm still unable to see a match to the Group entry when I run radiusd -X but only to the user and to DEFAULT entries : users: Matched entry Ami at line 1 users: Matched entry DEFAULT at line 20You're not trying

Re: Local groups in FreeRadius ?

2006-08-28 Thread Phil Mayers
Ami Schieber wrote: man users doesn't show me anything I find related to users file of FreeRadius : NAME users - print the user names of users currently logged in to the current host Try man 5 users. Man page names are only unique within section numbers. Alternatively, man -a users

Re: Local groups in FreeRadius ?

2006-08-27 Thread Alan DeKok
Ami Schieber [EMAIL PROTECTED] wrote: Ok. I've probably mis-read the documents. Can someone please provide an example of how to specify group membership to a user and then define return values for this group ? Should I cut paste the documentation from man rlm_passwd here? What part of

Re: Local groups in FreeRadius ?

2006-08-24 Thread Ami Schieber
Alan, Thanks for the pointers. All examples discuss unix groups and I need to avoid using those. Can I create a file with several definitions like : Finance = userA,userB,userC Engineering = diffuserA,diffuserB,diffuserC and somewhere else have another definition like: Finance: Reply-Message

Re: Local groups in FreeRadius ?

2006-08-24 Thread Alan DeKok
Ami Schieber [EMAIL PROTECTED] wrote: Thanks for the pointers. All examples discuss unix groups and I need to avoid using those. The examples I pointed you to do NOT discuss Unix groups. Go read man rlm_passwd. Alan DeKok. -- http://deployingradius.com - The web site of the book

Re: Local groups in FreeRadius ?

2006-08-23 Thread Alan DeKok
Ami Schieber [EMAIL PROTECTED] wrote: I've seen several QA about local groups of users but they all refer to system groups (i.e. - /etc/group configuration). I'd like to have a Group definition that will include attributes that are common to all users that belong in this group. See the FAQ,