I guess my question here is how you create 2 ldap instances.
Ron.
-----Original Message-----
From: Ron Wahler
Sent: Tuesday, April 01, 2003 10:23 AM
To: [EMAIL PROTECTED]
Subject: RE: Using LDAP and Realms with v0.81
How do you tie ldap1 and ldap2 to the ldap module.
Do you create
Ldap1.attrmap
Ldap2.attrmap
And then include them both in the radiusd.conf file ?
# Mapping of RADIUS dictionary attributes to LDAP
# directory attributes.
dictionary_mapping = ${raddbdir}/ldap.attrmap
dictionary_mapping = ${raddbdir}/ldap1.attrmap
dictionary_mapping = ${raddbdir}/ldap2.attrmap
Thanks,
Ron.
-----Original Message-----
From: Kostas Kalevras [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 5:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Using LDAP and Realms with v0.81
On Mon, 10 Mar 2003, Patrick McShane wrote:
>
> Hello,
>
> We're testing v0.81 against our existing LDAP DB and the searches
worked
> fine. Now have LDAP authentication working too. We also need to
pull
> different Radius attributes from LDAP depending on Realm name
> ([EMAIL PROTECTED]). Are there any examples of how this might be
> accomplished in a FreeRadius configuration? Please advise.
create two different ldap.attrmap files. Create two ldap instances each
using
one ldap.attrmap
Use Autz-Type to select between ldap module instances
-- users file --
DEFAULT Realm == "realm1", Autz-Type := ldap1
DEFAULT Realm == "realm2", Autz-Type := ldap2
Check out doc/Autz-Type for more details.
>
> Thanks,
> Pat McShane - ICDC.COM
>
>
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 210 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
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html