I resolves the problem with the use of realm and authz.... like this:

domA ldap {
   basedn = first branch dn
}

...

domN ldap {
   basedn = N branch dn
}

realm
domA,.... domN

so in the users file:

DEFAULT Realm==domA, authz-type=domA, auth-type=domA
....
DEFAULT Realm==domN, authz-type=domN, auth-type=domN

but I think there is a elegant solution using regexp.


v.

2008/5/26 Jian Wang <[EMAIL PROTECTED]>:
> I have the same question. Anyone can help?
>
> On Thu, May 22, 2008 at 10:36 PM, Vittore Zen <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>>
>> I have a openLDAP server with multiply branches:
>>
>> dc=domA ->a list of users
>> dc=domB ->a list of users
>> dc=domC ->a list of users
>>
>> now I want to AAA from freeradius using this syntax:
>>
>> [EMAIL PROTECTED],
>> [EMAIL PROTECTED]
>>
>> how to setup radius.conf?
>>
>> I sucessufully reach ldap server with single  basedn = "dc=domA"
>> ...but how to automatize it?
>>
>> Thanks in adavance.
>> v.
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
dott. Vittore Zen (IWA member 0267825)
Email: [EMAIL PROTECTED]
Profile: http://www.linkedin.com/in/vittorezen
Web: http://www.zen.pn.it
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to