Jump to content

Recommended Posts

Posted (edited)

Morning all,

 

Part 1 of my Project has been successful in regards to making folders on the nas drive that we have built from scratch. And it also utilises the AD Users from our DC however, this is part 2 now!

 

Part 2 consists of a room full of macs which also connects to AD Creds via our mac server (hosted on site). The problem i'm facing is even with profiling them they still aren't doing as they are told (What else is new)

 

I am trying to run a script that upon login, it maps the network drive (the nas) but every plist I seem to do works perfectly fine against local users but soon as you use a AD user it doesn't do anything.

 

local.job.plist




    
RunAtLoad    
    
Label    
user.script.runatload    
Program    
    
~/Library/script/mount.sh    
    StartInterval    
60


 

mount.sh

#!/bin/bash [ ! -d "/Volumes/MusicFiles" ] && open -g -j smb://truenas/musicfiles

 

This all works on a local account.... but not ad....

 

y-tho-meme-posters.jpg

Edited by Rydema

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...