[SAMBA] Can’t locate JSON.pm in @INC

posted in: computer | 0

version:
samba-4.17.1

error message
:
Can’t locate JSON.pm in @INC (you may need to install the JSON module)

solution:
install the JSON-module in PERL
execute following command as root: cpan JSON