Hello Christian -

On Thu, 09 Mar 2000, Christian Hammers wrote:
> Hello
> 
> I want to make the following
> <Handler Request-Type=Auth-Request>
>   <AuthBy LDAP>
>     ...  
>     AuthAttrDef RadiusAuth-Type,       Auth-Type,     check
>     ...
>     AuthAttrDef some_defaults,  get_fetched,  reply
>   </AuthBy>
> </Handler>
> 
> <AuthBy XXX>
>   Identifier westend-dynamic-dialup-account
>   AddToReplyIfNotExist        \
>       blah=blah       \
>       blah=blah...
> </AuthBy>
> 
> <AuthBy XXX>
>   Identifier westend-static-ip-dialup-account
>   AddToReplyIfNotExist        \
>       blah=blah       \
>       blah=blah...
> </AuthBy>
> 
> So that I simply have to add the "RadiusAuth-Type" to the LDAP profile of 
> a user to let him go into one of some different "groups" 
> (here: westend-dynamic-dialup-account) where he gets his default values.
> 
> 
> The problem is that I don't know which AuthBy Type I have to use.
> Should I use FILE with an empty file or is there a better solution?
> (multiple LDAP clauses will result in too much traffic and an plan to only
>  add some static defaults to the groups of users)
> 

I replied to this earlier with some example code for hooks. Will these do what
you need, or can you modify them to work for you?

regards

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to