Thxs for your answer ... things will not be tricky as i'm not an ldap expert :)
I also have another question ... I need to define connection times, so that the user can connect from 8h00am to 17h00 pm and not after ... Any experience on this functionnality implemented on freeradius ? -----Message d'origine----- De : Kostas Kalevras [mailto:[EMAIL PROTECTED]] Envoy� : mardi 5 mars 2002 21:01 � : [EMAIL PROTECTED] Objet : Re: Help needed for defining radius groups On Tue, 5 Mar 2002, Pierre Strazza wrote: > Hi there !! > > I'm desesperately trying to define groups of users in radius according to > groups referenced in an LDAP directory. > What I plan is to pass specific informations to the NAS according to the > group the user belong. So I need to define groups of users, instead of users > themselves in the radius users config file. > > Can anyone help ? > Thxs in advance, > > Pierre. You can do one of the following: o Use default/regular profiles. Just add the DN of the profile entry in the corresponding user entries using the profile_attribute defined in the ldap module configuration. Something like: dn: uid=group1-dialup,ou=people,dc=company,dc=com objectclass: radiusprofile radiusPortLimit: 1 dn: uid=user1,ou=people,dc=company,dc=com objectclass: radiusprofile dialupregularprofile: uid=group1-dialup,ou=people,dc=company,dc=com o Create ldap groups containing all the users for which you want to pass specific information. Then you can do something like this: dn: cn=group1,ou=groups,dc=company,dc=com objectclass: groupofuniquenames uniquemember: uid=user1,ou=people,dc=company,dc=com [...] users file: DEFAULT Group == "group1" Port-Limit = 1 In general take a look at doc/rlm_ldap. It is quite helpfull. -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 10 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html . . . - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
