openLDAP branches
Vittore Zen
vittore at zen.pn.it
Mon May 26 08:02:30 CEST 2008
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 <jwang at a10networks.com.cn>:
> I have the same question. Anyone can help?
>
> On Thu, May 22, 2008 at 10:36 PM, Vittore Zen <vittore at zen.pn.it> 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:
>>
>> userX at domA,
>> userY at domB....
>>
>> 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: vittore at zen.pn.it
Profile: http://www.linkedin.com/in/vittorezen
Web: http://www.zen.pn.it
More information about the Freeradius-Users
mailing list