Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

99.14. cifs-utils-7.7

mount.cifs and the SMB/CIFS userspace helpers

7.7-2 · GPL-3.0-or-later · 0.1 SBU · 301.7 KiB, 14 files · 41_system, 515 of 1047 · ports/core/filesystem/cifs-utils

Homepage: https://wiki.samba.org/index.php/LinuxCIFS_utils

Why it is in KDOS. The comment above cifs-utils and sshfs in script/phases/41_system/packages.d/filesystem.txt:

The two remote filesystems a workstation actually mounts. cifs-utils pulls talloc, which samba requires unconditionally.

Depends on: talloc, krb5, keyutils, libcap-ng, python3, python3-docutils.

Required by: no port names it.

Sources: cifs-utils-7.7.tar.bz2 (416.8 KiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install cifs-utils'

build.sh:

export CFLAGS="$CFLAGS -std=gnu17"

./configure \
	--prefix=/usr \
	--sbindir=/usr/sbin \
	--enable-cifsupcall \
	--enable-cifscreds \
	--enable-smbinfo \
	--enable-pythontools \
	--with-libcap-ng=yes \
	--disable-cifsidmap \
	--disable-cifsacl \
	--disable-pam \
	--disable-systemd \
	--enable-man
make
make install DESTDIR=$PKG ROOTSBINDIR=/usr/sbin

Programs: cifs.upcall, cifscreds, mount.cifs, mount.smb3, smb2-quota, smbinfo.

Directories: /usr/share/licenses/cifs-utils.