Hi,

On Tue, Aug 16, 2011 at 1:39 PM, Olivier Bilodeau <[email protected]> wrote:
> Hi,
>
>> What is the syntax to add a user from the command line?
>>
>> I was using this: /usr/local/pf/bin/pfcmd node edit 00:21:9b:3d:65:7b
>> status="reg",pid="test.user"
>>
>> that worked in previous versions but in 2.2.1 it no longer works
>
> It should still work, what error do you get? grammar error?
>
> Maybe the parser got corrupted, can you try:
>
> $ cd /usr/local/pf
>
> # This is all on one line:
> $ /usr/bin/perl -w -e 'use strict; use warnings; use diagnostics; use
> Parse::RecDescent; use lib "./lib"; use pf::pfcmd::pfcmd;
> Parse::RecDescent->Precompile($grammar, "pfcmd_pregrammar");'
>
> $ mv pfcmd_pregrammar.pm lib/pf/pfcmd/
>
> and try again.

That did not help, I do not get any errors. It looks like it should
work however the node never changes to "reg" it always remains
unregistered.

-- 
 _
/-\ ndrew Niemantsverdriet
Academic Computing
(406) 238-7360
Rocky Mountain College
1511 Poly Dr.
Billings MT, 59102

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to