Hello Dennis,

It’s a known bug. We reworked the way we do the JSON requests.

You can fix the three files:

unreg_node_disabled_account.ps1
unreg_node_locked_account.ps1
unreg_node_deleted_account.ps1

Install curl if it’s not installed and run the following commands on the 
PacketFence server:

cd /usr/local/pf/

You can dry run the patch if you want to:

curl 
https://github.com/inverse-inc/packetfence/commit/cbb02481bdd617b69dea2334351aaa0399759388.diff
 
<https://github.com/inverse-inc/packetfence/commit/cbb02481bdd617b69dea2334351aaa0399759388.diff>
 | patch -p1 --dry-run 

Here how to apply the three patches:

curl 
https://github.com/inverse-inc/packetfence/commit/cbb02481bdd617b69dea2334351aaa0399759388.diff
 
<https://github.com/inverse-inc/packetfence/commit/cbb02481bdd617b69dea2334351aaa0399759388.diff>
 | patch -p1

curl 
https://github.com/inverse-inc/packetfence/commit/17b14c44b0ce17551fd807e43f99522653c320ca.diff
 
<https://github.com/inverse-inc/packetfence/commit/17b14c44b0ce17551fd807e43f99522653c320ca.diff>
 | patch -p1

curl 
https://github.com/inverse-inc/packetfence/commit/f2b5414e066d6034db02ecf33c97f57393d181db.diff
 
<https://github.com/inverse-inc/packetfence/commit/f2b5414e066d6034db02ecf33c97f57393d181db.diff>
 | patch -p1

Once you patched the files, try again.

Thanks,
Ludovic Zammit
[email protected] <mailto:[email protected]> ::  +1.514.447.4918 (x145) ::  
www.inverse.ca <http://www.inverse.ca/>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu <http://www.sogo.nu/>) 
and PacketFence (http://packetfence.org <http://packetfence.org/>) 





> Le 2015-08-19 à 07:39, Dennis Schulmeyer <[email protected]> a écrit :
> 
> Hi everybody,
> 
> I’ve got the following error when disabling an AD Account..
> ERROR: Missing argument pid for the function pf::api::unreg_node_for_pid 
> (pf::api::validate_argv)
> 
> Any hints?
> 
> Thank you very much in advance!
> 
> Dennis
> ------------------------------------------------------------------------------
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to