Linux PPP protocol development
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: PPPD plugin development
Date: Tue, 11 Mar 2014 16:56:17 +0000	[thread overview]
Message-ID: <531F4031.5080304@workingcode.com> (raw)
In-Reply-To: <531BEBF2.3020508@gmail.com>

On 03/11/14 05:55, Greg wrote:
> Hey guys,
> 
> Once again, Thanks for all the help.
> 
> I've managed to get it to work completely. I had to globalize a USERID
> variable, and from there I was able to set it in the verify function and
> call it from the ip_down notifier. This allowed me to do all the
> updating I needed.

I would have done this with the existing /etc/ppp/auth-down script,
which should be invoked with $PEERNAME set in the environment if the
user was authenticated.

But, if you've got your scheme working, then that sounds great.  Glad to
hear that it's working out.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

      parent reply	other threads:[~2014-03-11 16:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09  4:20 pppd plugin development Greg
2014-03-09 14:14 ` Greg
2014-03-10 12:31 ` PPPD " Greg
2014-03-10 14:01 ` James Carlson
2014-03-10 14:23 ` Greg
2014-03-10 15:14 ` James Carlson
2014-03-11  4:56 ` Greg
2014-03-11  9:55 ` Greg
2014-03-11 16:56 ` James Carlson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=531F4031.5080304@workingcode.com \
    --to=carlsonj@workingcode.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox