[RADIATOR] Radiator/TACACS+ via ADSI

Hugh Irvine hugh at open.com.au
Tue Nov 8 13:59:40 CST 2011


Hi Steve -

I suggest you use the AuthBy LSA clause as it is more flexible, and you can do the Group check directly with it.

To see what is happening for debugging it is simplest to run radiusd by hand in a terminal window like this so you see the debug log:

	cd /your/Radiator/distribution

	perl radiusd -foreground -log_stdout -trace 4 -config_file /your/Radiator/configuration/file

	…..

regards

Hugh



On 9 Nov 2011, at 05:28, Kim, Steve wrote:

> Hi experts,
>  
> I’m testing Radiator/TACACS+ via authentication from AD with ADSI.
> I’d like to accomplish that a group member in AD only can authenticated.
> Can someone take a look following config and see if there is(are) any error(s)?
>  
> Thanks in advance.
>  
> So, here is my radius.cfg where I need your expertise.
>  
> <AuthBy ADSI>
>           
>            Identifier ADSI
>           
>            BindString  LDAP://ou=Users,ou=xxx Users,dc=xx,dc=xx,dc=xx
>             AuthUser %0
>             AuthFlags 1
> </AuthBy >
>  
> <ServerTACACSPLUS >
>              AddToRequest NAS-Identifier=TACACS
>      
>              GroupMemberAttr tacacsGroup
>             
>              AuthorizationTimeout 600
>             
>       BindAddress 0.0.0.0
>       GroupCacheFile %L/radiator-tacacs-usergroup.cache
>       IdleTimeout 180
>       MaxBufferSize 100000
>       PasswordPrompt Password:
>       Port 49
>       SingleSession 1
>       UsernamePrompt Username:
>  
>       <Log FILE>
>             Filename %L/logfile-tacacs
>             Trace 4
>       </Log>
> </ServerTACACSPLUS>
>  
> <Handler NAS-Identifier=TACACS>
>         <AuthBy FILE>
>             Filename %D/users.groups
>         </AuthBy>
>             AcctLogFileName %D/detail
> </Handler>
>  
> Here is users.groups:
>  
> DEFAULT Auth-Type=ADSI, Group="networking_staff"
>  
>  
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator


--

Hugh Irvine
hugh at open.com.au

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. 
Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.



More information about the radiator mailing list