>>> 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. >
Anything in logs/packetfence.log? Does it work through the Web Admin GUI? How about without the . in the pid? -- Olivier Bilodeau [email protected] :: +1.514.447.4918 *115 :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) ------------------------------------------------------------------------------ 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
