cifs-utils - User-space tools for mounting SMB/CIFS shares ChangeLog

HOWTO


# cifs-utils 7.3
# ==============
# cifs-utils used to be bundled with Samba and prior to Slackware 14.0, was
# part of the Slackware 'samba' package
#
# Slackware 14.0, .1: cifs-utils 5.5
# Slackware 14.2: cifs-utils 6.4
# Slackware 15.0: cifs-utils 6.14

# [ ANNOUNCE ] cifs-utils release 7.3
# Gitweb shortlog
# cifs-utils downloads
# us1.samba.org: Linux CIFS Client Guide (PDF) - dated 2007-01-03
# pserver.samba.org: Linux CIFS Client Guide (PDF) - dated 2007-01-03
# The Samba-Bugzilla - CifsVFS - user space tools
# Old linux-cifs.samba.org web site

# Samba Wiki: LinuxCIFS
# Samba Wiki: LinuxCIFS Troubleshooting
# CIFS - The Linux Kernel documentation
# linux-cifs mailing list archives
# linux-cifs.vger.kernel.org archive mirror
# Wikipedia: Server Message Block - CIFS

# Prerequisites:
# pkg-config
# Kerberos (optional)
# Samba's libwbclient
# PAM (optional)
# rst2man
# libcap-ng

# Get the tarball
cd
mkdir -p -m 0700 ~/installed
test -f installed/cifs-utils-7.3.tar.bz2 &&
mv -f installed/cifs-utils-7.3.tar.bz2 .
test ! -f cifs-utils-7.3.tar.bz2 &&
wget https://download.samba.org/pub/linux-cifs/cifs-utils/\
cifs-utils-7.3.tar.bz2

# Verify tarball w/ sha256sum:
# (came from my gpg-verified tarball)
echo "c4e1eb5f4ad880d96e16d95a1cdbc7ec978ab51c5b6d8a20ae09dac638f36d\
d5  cifs-utils-7.3.tar.bz2" | sha256sum -c

# Verify tarball w/ gpg:
# [ also available here ]
( gpg -q --list-keys DF5BA9D30642D5A0 ||
  gpg --keyserver keys.gnupg.net --recv-keys DF5BA9D30642D5A0 ) &&
wget -nc https://download.samba.org/pub/linux-cifs/cifs-utils/\
cifs-utils-7.3.tar.bz2.asc &&
gpg --verify cifs-utils-7.3.tar.bz2.asc && rm cifs-utils-7.3.tar.bz2.asc

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
tar xjvf ~/cifs-utils-7.3.tar.bz2
cd cifs-utils-7.3
test $UID = 0 && chown -R root:root .

# Read ./README in the source or
# online via gitweb

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --prefix=/usr --mandir=/usr/man

# Build it
make

# Become root to install it
su

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg cifs-utils

# Install it
make install

# See online documentation referred to above, CIFS info in 'man mount' and
# 'man mount.cifs'
#
# The Linux CIFS Client Guide document is under ./doc/
# as an .odt (OpenDocument text file).  If need be
# you can convert it to other formats using pandoc, or
# view it as a PDF - see link above.

# Running 'mount -t cifs ...' will execute /sbin/mount.cifs

# Become your non-root user again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/cifs-utils-*.tar.*
mv -f cifs-utils-7.3.tar.bz2 installed/


# If you ever want to uninstall cifs-utils, this should do it:
cd
su
test -d src/cifs-utils-* && ( cd src/cifs-utils-* ; make uninstall )
( cd /usr/bin
  rm -f cifscreds getcifsacl setcifsacl smb2-quota smbinfo )
( cd /usr/man/man1
  rm -f cifscreds.1* getcifsacl.1* setcifsacl.1* smb2-quota.1* smbinfo.1* )
( cd /usr/man/man8
  rm -f cifs.idmap.8* idmapwb.8* mount.cifs.8* )
rm -f /sbin/mount.cifs \
/usr/include/cifsidmap.h \
/usr/lib*/cifs-utils/idmapwb.so \
/usr/lib*/security/pam_cifscreds.so \
/usr/sbin/cifs.idmap
test -d /usr/lib/cifs-utils && rmdir /usr/lib/cifs-utils
test -d /usr/lib64/cifs-utils && rmdir /usr/lib64/cifs-utils
exit
find ~/src -maxdepth 1 -type d -name "cifs-utils-*" -exec rm -r {} \;
rm -f ~/installed/cifs-utils-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2025-03-29 8:07pm
Copyright © 2001-2025 Jason Englander. All Rights reserved.
[HTML5]