[tac_plus] Re: assign a host key to a group of hosts

Alan McKinnon alan.mckinnon at gmail.com
Thu Feb 4 19:56:37 UTC 2010


On Thursday 04 February 2010 12:04:43 norbert.kunth at now-it.de wrote:
> Hi,
> 
> we have three groups of components that we want to authenticate to the
> tac_plus daemon. Is there a way to define a special key for a group of
> hosts?
> 
> I have tried
> 
> host = 192.186.1.0/24 {
>         key = xyz
> }
> 
> to define a key for all hosts in this subnet but this does not work :-(


I haven't tested this myself, but at least in the acl section the IP address 
is not in the familiar dotted-quad/bits format, it is a regular expression.

Have you tried something like

host = 192.168.1.*

You'll need to escape the dots and use ^$ too of course.



-- 
alan dot mckinnon at gmail dot com


More information about the tac_plus mailing list