BSD Ports

sysutils/mountsmb2 0.90.2 DragonFly

SMB/CIFS shares mounting scripts to do it at login

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
net, sysutils
Package size
7.2 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.

In the other systems

SystemPortVersion
DragonFlysysutils/mountsmb20.90.2
FreeBSDsysutils/mountsmb20.90.2

Install

Binary package:

pkg install mountsmb2

From DPorts:

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

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

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