OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [PATCH] Feed myhostname attribute to policy servers

From: Wietse Venema (wietseporcupine.org)
Date: Sun Oct 17 2004 - 08:46:56 CDT


Luc Pardon:
>
>
> Wietse Venema wrote:
> > I can also see some benefit in the ability to specify a list of
> > user-controlled (name, value) pairs that get to be sent across with
> > each policy service request:
> >
> > <policy service name>_attributes = hostname=$myhostname foo=bar
> >
> > But I see little benefit in a patch that adds support for a hard-coded
> > hostname attribute only.
> >
> > Wietse
>
> OK, will do. Cool idea !
>
> The coding is (almost) done, but I have some questions before I wrap
> it up.
>
> 1) Would you mind if I left the "<policy>_myhostname" parameter in
> place (in addition to "<policy>_attributes") ?

If you don't ript it out then I will.

> one server will expect 'myhostname',
> another 'hostname', yet another 'mailserver', ... It seems better to
> cast it in stone instead of shifting the burden to the user.

A feature is a bug unless it is configurable. That certainly
applies to your request to send a constant attribute from
main.cf to a policy server.

        Wietse