Hi, On Thu, 11 Sep 2008 14:26:42 +0200 "Ross Cameron" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 11, 2008 at 2:09 PM, Rafal Bisingier > <[EMAIL PROTECTED]>wrote: > > > Below is a patch which change current behavior, so that the message > > is searched first in the /etc/authpf/USER dir, and if it's not found > > > Would /etc/authpf/authpf.USER.message not be better? > > ======== Sample change ======== > if (asprintf(&fn, "%s/authpf.%s.message", PATH_USER_DIR, luser) > == -1) print_message(PATH_MESSAGE); > else > print_message(fn); > ======== Sample change ======== > > Please bear in mind that I can at best read C so the above is probably > wrong. Well, the /etc/authpf/user directory is already used for storing per user rules, and some other info, so adding there a message-file looks sensible for me... ;-) -- Greetings Rafal Bisingier