Hello Ludovic,

This fixed the problem!
I can see the unregistration in the log file.
Now I have another problem, but I’ll write an extra mail for it…

Thank you a lot!

Dennis


Von: Ludovic Zammit
Antworten an: 
"[email protected]<mailto:[email protected]>"
Datum: Mittwoch, 19. August 2015 15:02
An: 
"[email protected]<mailto:[email protected]>"
Betreff: Re: [PacketFence-users] AD unreg powershell scripts are not working

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
 | patch -p1 --dry-run

Here how to apply the three patches:

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

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

curl 
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) and PacketFence 
(http://packetfence.org)





Le 2015-08-19 à 07:39, Dennis Schulmeyer 
<[email protected]<mailto:[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]<mailto:[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