On Mon, 23 Jun 2003, Simon Allard wrote:
>
> I have a small problem.
>
> Currently I have a VOIP system here which uses freeradius 0.8.1 to
> authenticate.
>
> I have a users file which contains entry's like:
>
> 5551234Auth-Type := Accept, Huntgroup-Name == "VOICE"
>
> at the end of the file I have
>
>
> Unfortantly I have close over 150,000 of these entry's and as you can
> imagine the userfile is quite big. Ie 10meg now. Freeradius takes a wee
> while to start.
>
>
> I currently have an LDAP database used to auth my dialup customers. I need
> a way to put the phone customers in also.
>
> I need to be able to do something like this
>
>
> DEFAULT Huntgroup-Name == "VOICE", User-Profile == "cn=${User-Name},
> dn=isp,dn=co,dn=nz"
Why not just do:
DEFAULT Huntgroup-Name == "VOICE", Autz-Type := "VOICE"
ldap ldap_voice {
filter = "(cn=${User-Name})"
[...]
}
authorize{
autztype VOICE {
ldap_voice
}
[...]
}
>
> If the userfile is not found in LDAP then falls back to this default
> profile which is in the users file.
>
> DEFAULT Auth-Type := Reject, Huntgroup-Name == VOICE
>
> Is that possible, if not what are my options? Bear in mind that I have to
> use LDAP, I can't convert to mysql or oracle. The aim of the game is to
> reduce the 10meg userfile down to virtually nothing.
>
>
> Thanks in Advance
> Simon Allard
>
>
> Simon Allard (Senior Tool Monkey)
> IHUG
> Ph (09) 358-5067 Email: [EMAIL PROTECTED]
>
> I'm out of my mind right now, but feel free to leave a message.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
--
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