Mounting a shared network folder using an active directory domain security group
0
votes
1
answer
370
views
**Background:**
I am trying to deploy a custom backup strategy in my lab. A "trigger" script is executed periodically on the computer, fetches the most recent backup instructions for the machine from a network share (accessed via samba on the local network) and writes the resulting log files to that same shared folder.
The first step in the trigger script is to mount the samba share to read/write files.
**What works:**
Our IT department has created an active directory security group containing the machines allowed to access the shared folder. Windows machines as well as MacOS machines are listed in the group members.
On Windows, the "System" account can connect to the shared folder to read & write files without the need to provide any credentials. Mounting is not necessary as we can read files from \\serverip\share
On MacOS, I can mount the shared folder using
if I provide the credentials of an authorized user.
**The issue:**
On MacOS, I am unable to mount without supplying user credentials. Mounting the shared folder with
fails with: "server rejected the connection: authentication error".
appears to expect authorized credentials, while I hope to mount without passing credentials, using the AD security group.
I am running the commands as root.
**What I have checked:**
- Computers are joined to the domain
- Hostnames match the object names in Active Directory
- Using the hostname or domain\hostname as username for the share does not work
- Using -N option to avoid password prompt does not solve the issue
I have no control on the samba shares, they are handled by our IT department only.
Is there some obvious information/configuration I am missing to mount a share as root without credentials on macOS?
Asked by Gaetan
(11 rep)
Apr 19, 2024, 03:32 PM
Last activity: Apr 26, 2024, 10:21 AM
Last activity: Apr 26, 2024, 10:21 AM