FreeBSD Ports

sysutils/mountsmb2 0.90.2

SMB/CIFS shares mounting scripts to do it at login

Repository
FreeBSD ports
Maintainer
[email protected]
Categories
sysutils, net
Package size
7.8 KiB, 14.8 KiB installed

Description

This set of scripts allows you to imitate Windows feature to automount some network shares at login time. It is relatively difficult in setup - you should understand, what you do, know how to install SMB/CIFS support into a kernel, how to setup /etc/nsmb.conf and .nsmbrc files, etc.

Script are written on Shell. Uses nbtscan and host utilites to locate Windows boxes when generated .nsmbrc file in semi-automated mode with smb2nsmbrc helper script. Also uses their own file .mssmbrc to describe any share, mounted with mountsmb2.

Install

As a binary package — by origin, or by package name:

pkg install sysutils/mountsmb2
pkg install mountsmb2

From the ports tree:

cd /usr/ports/sysutils/mountsmb2/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	mountsmb2>0:sysutils/mountsmb2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.90.20.90.20.90.20.90.20.90.2
FreeBSD:14:quarterly0.90.20.90.2n/a0.90.20.90.2
FreeBSD:15:latest0.90.20.90.2n/a0.90.20.90.2
FreeBSD:15:quarterly0.90.20.90.2n/an/an/a
FreeBSD:16:latest0.90.20.90.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

The full lists below include those, and their dependencies in turn.

All run dependencies 110

The first 100 are listed.

No port depends on this one.

Configuration

Options name: sysutils_mountsmb2

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
sudo tar:bzip2
Service scripts
none

Message after installing

Please, read /usr/local/share/examples/mountsmb2/README.FreeBSD
*B*E*F*O*R*E* the FIRST RUN of Mountsmb2!

In order to run Mountsmb2 properly, be sure that:

1. Your kernel is configured properly
2. Your /etc/nsmb.conf file is configured properly
3. Your .nsmbrc file is configured properly (this means, that
   the password to *ANY* server in your network is recorded in
   this file. For semi-automatic creation of .nsmbrc you can use
   the smb2nsmbrc script)
4. Your .mssmbrc file is created and filled properly

Keep in mind, that:

1. Mountsmb2 only calls mount_smbfs to mount shares with params, described in
   a .mssmbrc file
2. DO NOT DISTURB ME ABOUT FreeBSD's SMB IMPLEMENTATION!

===>   NOTICE:

The mountsmb2 port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
mountsmb2-0.90.2.tar.bz26245e23e6cf07c614091a61f3189c23ee81eb7197f6ceb52f5304e95e60cebbbdc74
Master sites 1
  • LOCAL/lippe

Commit history 0

No commits in the history this site was built from.