Phil,<br>
<br>
Thanks for your help.<br>
Can you also explain what format should the users file use ?<br>
<br>
Currently, I've tried :<br>
<br>
Ami User-Password == "ami123"<br>
Service-Type = Framed-User,<br>
Framed-Protocol = PPP,<br>
Fall-Through = Yes<br>
<br>
FIGrp Auth-Type := Local, MyGroup-Name := FIGrp<br>
Reply-Message = "Hello from Group FIGrp, %u"<br>
<br>
DEFAULT Pool-Name := main_pool, Auth-Type := Local<br>
Fall-Through = Yes<br>
<br>
<br>
and my dictionary file has :<br>
<br>
ATTRIBUTE
MyGroup-Name
3003 string<br>
<br>
while my /etc/FIGroup file has the following :<br>
<br>
FIGrp:Ami<br>
<br>
and my radiusd.conf has :<br>
<br>
passwd MyGroup {<br>
filename = /usr/local/etc/raddb/FIGroup<br>
format = "~MyGroup-Name:*User-Name"<br>
hashsize = 50<br>
ignoreislike = yes<br>
allowmultiplekeys = yes<br>
delimiter = ":"<br>
}<br>
<br>
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 :<br>
<br>
users: Matched entry Ami at line 1<br>
users: Matched entry DEFAULT at line 20<br>
<br>
<br>
Thanks again,<br>
<br>
Ami<br>
<br>
<br><br><div><span class="gmail_quote">On 8/28/06, <b class="gmail_sendername">Phil Mayers</b> <<a href="mailto:p.mayers@imperial.ac.uk">p.mayers@imperial.ac.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ami Schieber wrote:<br>> passwd MyGroup {<br>> filename = /etc/MyGroup<br>>
format = "~Group-Name:::*,User-Name"<br>> hashsize = 50<br>> ignoreislike = yes<br>> allowmultiplekeys = yes<br>><br>> My /etc/MyGroup file :<br>>
<br>> FIGrp:::*,Ami<br>> FIGrp:::*,John<br><br>No. The "," prefixing the key in the format means that more than one<br>value exists in that field, separated by commas, like the /etc/group<br>file. The man page is quite specific. Your file would need to read:
<br><br>FIGrp:::Ami,John<br><br>The "man rlm_passwd" docs are pretty specific about that example:<br><br>"""Parse a file similar to the /etc/group file."""<br><br>If you're generating the file yourself, you can use a simpler format:
<br><br>passwd mygroup {<br> filename = /etc/mygroup<br> format = "~Group-Name:*User-Name"<br> hashsize = 50<br> allowmultiplekeys = yes<br>}<br><br>...ands<br><br>group:user1<br>group:user2<br>othergroup:user3
<br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br>