cifs-utils-6.8

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 15. Networking Programs

- Prev

  bridge-utils-1.6

- Next

  iw-5.0.1

- Up
- Home

# cifs-utils-6.8

## Introduction to cifs-utils

The cifs-utils provides a means for mounting SMB/CIFS shares on a Linux system.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): https://www.samba.org/ftp/linux-cifs/cifs-utils/cifs-utils-6.8.tar.bz2

- Download MD5 sum: a385d60293e6f9e4cb0d4ac2093990d8

- Download size: 376 KB

- Estimated disk space required: 2.9 MB

- Estimated build time: less than 0.1 SBU

### cifs-utils Dependencies

#### Required

Talloc-2.1.15

#### Optional

keyutils-1.6 (required to build PAM module), Linux-PAM-1.3.0, MIT Kerberos V5-1.17, Samba-4.9.4, and libcap-ng or libcap-2.26 with PAM

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cifsutils

## Kernel Configuration

Enable the following options in the kernel configuration and recompile the kernel if necessary:

    File systems  --->
      [*] Network File Systems  --->                                      [CONFIG_NETWORK_FILESYSTEMS]
        <*/M> CIFS support (advanced network filesystem, SMBFS successor) [CONFIG_CIFS]

## Installation of cifs-utils

Install cifs-utils by running the following commands:

    ./configure --prefix=/usr \
                --disable-pam \
                --disable-systemd &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Command Explanations

`--disable-pam`: Do not build PAM support. Remove it and use `--with-pamdir` (see below), if Linux-PAM-1.3.0 is installed and you wish PAM support.

`--disable-systemd`: Disable systemd specific behavior for mount.cifs. Remove it for systems running with systemd.

`--with-pamdir=/lib/security`: Install the PAM module in `/lib/security`.

## Contents

Installed Programs: getcifsacl, mount.cifs and setcifsacl; optional: cifs.idmap, cifs.upcall and cifscreds
Installed Library: /usr/lib/cifs-utils/idmapwb.so and optionally PAM module /lib/security/pam_cifscreds.so
Installed Directory: /usr/lib/cifs-utils

### Short Descriptions

cifs.idmap | is a userspace helper program for the linux CIFS client filesystem. There are a number of activities that the kernel cannot easily do itself. This program is a callout program that does these things for the kernel and then returns the result. It is not intended to be run from the command-line.
cifs.upcall | is a userspace helper program for the linux CIFS client filesystem. It is intended to be run when the kernel calls request-key for a particular key type. It is not intended to be run from the command-line.
cifscreds | is a tool for managing credentials (username and password) for the purpose of establishing sessions in multiuser mounts.
getcifsacl | is a userspace helper to display an ACL in a security descriptor for Common Internet File System (CIFS).
mount.cifs | mounts a Linux CIFS filesystem. It is usually invoked indirectly by the mount(8) command when using the "-t cifs" option.
setcifsacl | is intended to alter an ACL of a security descriptor for a file system object.

Last updated on 2019-02-16 03:24:48 -0600

- Prev

  bridge-utils-1.6

- Next

  iw-5.0.1

- Up
- Home