table of contents
KSMBDPWD.DB(5) | File Formats and Conventions | KSMBDPWD.DB(5) |
NAME¶
ksmbdpwd.db - the user database for ksmbd.mountd
DESCRIPTION¶
ksmbdpwd.db is the user database for ksmbd.mountd(8) user mode daemon. ksmbd.adduser(8) may be used for configuring users for ksmbdpwd.db. ksmbd.adduser notifies ksmbd.mountd of changes, if it had made any, by sending the SIGHUP signal to ksmbd.mountd. ksmbd.control --reload can be used for notifying ksmbd.mountd of changes when not using ksmbd.adduser. ksmbdpwd.db is expected to be at /etc/ksmbd/ksmbdpwd.db by default.
FILE FORMAT¶
ksmbdpwd.db consists of user entries separated by newlines. Each user entry consists of a user and a password, in that order, separated by a colon (:). The user must be UTF-8, [1, 48) bytes, and cannot contain newline or colon. The password is created from the user-input UTF-8 password, [0, 129) bytes, by converting it to UTF-16LE, then MD4-hashing it, and finally Base64-encoding and padding it.
COPYRIGHT¶
Copyright © 2015-2022 ksmbd-tools contributors. License
GPLv2: GNU GPL version 2
<https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>.
This is free software: you are free to change and redistribute it. There is NO
WARRANTY, to the extent permitted by law.
REPORTING BUGS¶
For bug reports, use the issue tracker at https://github.com/cifsd-team/ksmbd-tools/issues.
SEE ALSO¶
ksmbd-tools 3.4.6 |