ash-4.4# smbd -F --debug-stdout --debuglevel 1 --config-file /etc/samba/smb.conf
Invalid option --config-file: unknown option
Usage: smbd [-?bDiFV] [-?|--help] [--usage] [-b|--build-options]
[-p|--port=STRING] [-P|--profiling-level=PROFILE_LEVEL]
[-d|--debuglevel=DEBUGLEVEL] [--debug-stdout]
[-s|--configfile=CONFIGFILE] [--option=name=value]
[-l|--log-basename=LOGFILEBASE] [--leak-report] [--leak-report-full]
[-D|--daemon] [-i|--interactive] [-F|--foreground]
[--no-process-group] [-V|--version]
je to bez pomlčky, to dá potom:
ash-4.4# smbd -F --debug-stdout --debuglevel 1 --configfile /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "ldap ssl ads" option is deprecated
/etc/samba/smb.reserved.conf not found
smbd version 4.15.13 started.
Copyright Andrew Tridgell and the Samba Team 1992-2022