qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

smb daemon get additional command line parameters from env variable


From: Jordi Pujol
Subject: smb daemon get additional command line parameters from env variable
Date: Wed, 30 Oct 2019 08:55:24 +0100

Hello,

The new version 4 of Samba disables version 1 SMB protocols, now to
run old Win clients we must modify the temporary configuration of the
samba daemon to enable protocols before starting the samba client.
This patch gets the value of the environment variable SMBDOPTIONS and
appends it to the smbd command line; it allows the user to specify
additional samba daemon parameters before starting qemu.
It also patches the fork_exec function in misc.c, to parse correctly
command lines that contain spaces.

Thanks,

Jordi Pujol

Attachment: smbd_options.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]