Skip to content

Commit dcee598

Browse files
committed
Updating man pages w.r.t. KSMBD
1 parent 2d09193 commit dcee598

File tree

4 files changed

+19
-14
lines changed

4 files changed

+19
-14
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ if (PANDOC_PATH)
257257
add_custom_command(
258258
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8
259259
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8.md
260-
COMMAND pandoc --standalone --to man ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8.md -o ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8
260+
COMMAND ${PANDOC_PATH} --standalone --to man ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8.md -o ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8
261261
VERBATIM
262262
)
263263

@@ -267,7 +267,7 @@ if (GROFF_PATH)
267267
add_custom_command(
268268
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8.html
269269
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8
270-
COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8 | groff -mandoc -Thtml > ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8.html
270+
COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8 | ${GROFF_PATH} -mandoc -Thtml > ${CMAKE_CURRENT_SOURCE_DIR}/doc/wsddn.8.html
271271
VERBATIM
272272
)
273273
endif()

doc/wsddn.8

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" Automatically generated by Pandoc 2.18
1+
.\" Automatically generated by Pandoc 3.1.1
22
.\"
33
.\" Define V font for inline verbatim, using C font in formats
44
.\" that render this, and otherwise B font.
@@ -233,10 +233,13 @@ If no SMB configuration is found it is set to a workgroup named
233233
The equivalent config file option is \f[V]member-of\f[R].
234234
.TP
235235
\f[V]--smb-conf\f[R] \f[I]path\f[R]
236-
Path to smb.conf file to extract the SMB configuration from.
236+
Path to \f[V]smb.conf\f[R], \f[V]samba.conf\f[R], or
237+
\f[V]ksmbd.conf\f[R] file to extract the SMB configuration from.
237238
This option is not available on macOS.
238-
By default \f[V]wsddn\f[R] tries to locate this file on its own.
239-
Use this option if auto-detection fails or picks wrong samba instance.
239+
By default \f[V]wsddn\f[R] tries to locate this file on its own by
240+
querying your local Samba installation.
241+
Use this option if auto-detection fails, picks wrong Samba instance or
242+
if you are using KSMBD on Linux.
240243
The equivalent config file option is \f[V]smb-conf\f[R].
241244
.SH SIGNALS
242245
.PP

doc/wsddn.8.html

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/wsddn.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ exploits into wsddn. If not specified the behavior is as follows
109109
: Report this computer as a member of Windows workgroup _name_. Options `--domain` and `--workgroup` are mutually exclusive. If neither is specified domain/workgroup membership is auto-detected from SMB configuration. If no SMB configuration is found it is set to a workgroup named `WORKGROUP`. The equivalent config file option is `member-of`.
110110

111111
`--smb-conf` _path_
112-
: Path to smb.conf file to extract the SMB configuration from. This option is not available on macOS. By default `wsddn` tries to locate this file on its own. Use this option if auto-detection fails or picks wrong samba instance. The equivalent config file option is `smb-conf`.
112+
: Path to `smb.conf`, `samba.conf`, or `ksmbd.conf` file to extract the SMB configuration from. This option is not available on macOS. By default `wsddn` tries to locate this file on its own by querying your local Samba installation. Use this option if auto-detection fails, picks wrong Samba instance or if you are using KSMBD on Linux. The equivalent config file option is `smb-conf`.
113113

114114

115115
# SIGNALS

0 commit comments

Comments
 (0)