Installation Guides (MacOS)


VPN for Mac

For using VPN on Mac you have to install the Sophos Client Authentication Agent and the FortiClient! For both you need to Device to connect with LAN cable inhouse!

I'm not sure if the FortiClient needs the Sophos Client Authentication Agent! But for security reason we need the Sophos Endpoint Protection Software:

Sophos Endpoint Protection

  1. Download zip-file from smb://vogelwarte.ch/dfs/ Teamwork/IT/SophosInstall.zip
  2. Install the Sophos Installer.app
  3. Follow this guide to enable all required permissions for Sophos: https://docs.sophos.com/central/customer/help/en-us/PeopleAndDevices/ProtectDevices/EndpointProtection/MacSecurityPermissions/index.html#grant-permissions-for-scanning-and-web-protection

FortiClientVPN Installation

  1. Download the VPN client software: FortiClient Onlineinstaller / Updates.
  2. Install it - Zertifikat should be automatically installed (or not needed)
  3. You need to allow in the System Settings following entries:
  4. Switch off all Inhouse Network LAN and also WLAN "Vogelwarte" or "VoWa_public"

FortiClient uninstall

The problem is that the Uninstaller is only working if FortNet is not running. You have to run the MacOS in the Safe Mode

Safe Mode procedure

  1. Shutdown
  2. Press Power Butten for long time till "System ..." appears
  3. Press on "HardDrive" symbol
  4. Press on Shift and then the "click"-button changes to "...start into Safe Mode..."
  5. The system starts into the safe mode
  6. Now you can run the "Uninstaller"
  7. Reboot the machine

Install Printers on macOS

If your Mac is part of the Vogelwarte AD, you can skip the manual installation and just install the printer's drivers! You should directly find the printers in the macOS settings with PRINTSERVER2019-<YOUR PRINTER>!

Download Required Printer Drivers

Note: These drivers worked at the time of writing. The links might be outdated, thus make sure to download the most recent printer driver.

Make Model Driver
HP HP LaserJet M606* HP Easy Admin
Canon Canon iR-ADV C5840/5850* PS Printer Driver & Utilities for Mac

* The driver is generic and spans several models

Manual Installation of Printers

This guide helps you to set up a printer manually, e.g. when your device is not part of the Vogelwarte AD

Prerequisites

To install the printer, please note down the following information:

Step-by-step Guide

  1. Download and install the driver for the specific printer model from the manufacturers website. You can find some hints for some models in the Table below.

  2. In the macOS Settings app, go to Printers & Scanners and click Add Printer, Scanner or Fax setting_add_printer

  3. In the Add Printer dialogue, right click anywhere in the Toolbar and select Customize Toolbar. Then drag and drop the Advanced icon into the toolbar.

  4. Next, select Windows printer via spoolss as Type and enter the printers URL as smb://printserver2019.vogelwarte.ch/<Printer Name> as shown below. Also, make sure to set an appropriate name (+optionally the location), as well as to select the correct driver in the Use dropdown (you might have to search for it). Then, click add. Advanced_Add.gif

  5. If you wish, make a test print e.g. from https://continuousinksupplysystem.com.au/pdf/print-testing-tools-MIR.pdf. Make sure to select the correct paper size A4, which sometimes get set to US Letter.

Configure the network for VPN

For various internal services, e.g. QGIS plugins, a standard domain vogelwarte.ch must be specified in the network settings.

Screenshot 2025-08-14 at 09.36.36.png

  1. Go to the Network details
  2. Select DNS on the left side
  3. In Search Domains add vogelwarte.ch. You have to press + on the bottom of the listbox.

MacBook Install Guide for Vogelwarte Devices

This setup works for macOS Tahoe

Manual Setup (until we have a MDM)

Prerequisites:

You need to be in Sempach at a staging docking station to have access to the internal network

Step 1: Out-Of-The-Box Setup Guide

Follow the setup guide and create a user Scientific IT (UNIX username "scientific.it") with the password from Bitwarden ("Mac Laptop Admin Login"). Disable Location Services, disable Siri, disable analytics, skip Touch ID, skip Apple Account.

Step 2: Install Updates or update to macOS Tahoe

Go to system settings and check for updates. So far, M4 devices were still shipped with macOS Sequoia 15. Thus an update to macOS Tahoe is necessary. Proceed with said update.

Step 3: Enable FileVault encryption

Step 4: Install Sophos and FortiVPN

Conect to smb://vogelwarte.ch/dfs and navigate to Teamwork > IT and copy the FortiVPN online installer & SophosInstall folder to the machine. Install Sophos. During the installation you will be prompted to enter the password multiple times to enable extensions. Additionally you need Full Disk Access for multiple Sophos services. In Sophos Endpoint Self Help under Prerequisits, you find an icon to drag & drop to the Full Disk Access Setting in macOS which makes this setup easier.

Next, install FortiVPN. The configuration of FortiVPN is done in a later step.

Step 5: Install M365 Apps

Download Office Apps from microsoft.com. You can temporary login with your Vogelwarte account. Install pending updates with the Microsoft AutoUpdate app. Do not open the apps yet.

Step 6: Connect to AD

Step 7: Install Printers

Install the most recent drivers for macOS

Make Model Driver
HP HP LaserJet M606* HP Easy Admin
Canon Canon iR-ADV C5840/5850* PS Printer Driver & Utilities for Mac

For the label printers, the drivers are already preinstalled on macOS

SMB Client on macOS

Settings for the macOS smb client

  1. Create the file /etc/nsmb.conf file with the following content
[default]
streams=yes
notify_off=yes
soft=yes
port445=no_netbios
protocol_vers_map=6
mc_on=yes
mc_prefer_wired=yes
dir_cache_max_cnt=0
  1. In a terminal, execute sudo defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE. This disables the creation of .DS_Store files on network shares
  2. Restart the machine
  3. Reconnect all smb shares afterwards.

Details of the /etc/nsmb.conf settings

Setting Value Description
streams yes Enables support for NTFS alternate data streams, allowing macOS to read and write metadata and resource forks on SMB shares that support this feature [^1].
notify_off yes Disables file and directory change notifications from the server, which can reduce network traffic and prevent unnecessary refreshes in Finder [^4].
soft yes Configures soft mounts, meaning that if the server becomes unresponsive, operations will fail quickly instead of hanging indefinitely, improving user experience during network issues [^1].
port445 no_netbios Specifies that connections should use direct TCP on port 445 without falling back to NetBIOS over port 139, streamlining the connection process [^2].
protocol_vers_map 6 Sets the SMB protocol version compatibility bitmap; 6 to force SMB 2 or 3 only [^3].
mc_on yes Enables SMB Multichannel, allowing multiple connections between client and server to increase transfer speeds and provide redundancy [^7].
mc_prefer_wired yes When SMB Multichannel is enabled, this setting prioritizes wired network interfaces over Wi-Fi for better performance and stability [^5].
dir_cache_max_cnt 0 Disables local caching of directory listings, ensuring that you always see the most current files and folders on an SMB share [^6].

After modifying /etc/nsmb.conf, disconnect and reconnect any mounted SMB shares for the changes to take effect [^8].

[^1]: MacOS und SMB nerven | Das deutsche Synology Support Forum

[^2]: nsmb.conf(5) man page

[^3]: How to disable SMB 1 or NetBIOS in macOS

[^4]: DSM 7.2 - Dateien erscheinen nach dem Löschen wieder und lassen...

[^5]: Das Verhalten von SMB Multichannel konfigurieren - Apple Support (LI)

[^6]: Disable local SMB directory enumeration caching

[^7]: Configure SMB Multichannel behavior

[^8]: Apple macOS smbx and /etc/nsmb.conf information - GitHub

Problem after Active Directory (Windows/entra) Password change

When I changed my ActiveDirectory password on the MacOS - everything worked. OK, I had to give the new password on serveral Online Services from Microsoft365 and I've to restart my Teams and so on... But one problem on MacOS keept me a little bit stocked.

The passwords on MacOS are stored in the Keychain Access Tool and is encrypted with the AD password and this is not changed automatically - so you have to change it manually:

Type into a Terminal:

security set-keychain-password

And you have to enter the old and then the new Active Directory Password.