Copy file from Linux Server to windows network share Drive

Hello All,

I want to copy a file from Linux server to Windows Network share drive.
Can anyone please let me know the best way to achieve this result…

Regards,
Manish Singh

Tricky, because the BigFix agent runs a root and root will not have access to the network share (unless it is a null session and insecure).

Most likely approach would be to use the BigFix client upload manager (same way that BFInventory gets it’s scan files up to the BigFix server) to get the file up to the BigFix server, then use a script or batch job on the server to copy those files over to the network share.

Alternate approach would be to use a secure parameter to pass the network share permissions to the endpoint, use those to map the drive with the credentials, then just copy the file. Here is a Windows flavored version of this:

(Secure parameter: https://www.bigfix.me/fixlet/details/2593 )