Skip to main content
Question

Jamf Binary 9.01 & 10.6 Network Home Drives

  • September 10, 2013
  • 30 replies
  • 74 views

Show first post

30 replies

Forum|alt.badge.img+2
  • New Contributor
  • October 23, 2013

Does anyone know if 9.2 resolved this issue?


Forum|alt.badge.img+6
  • Contributor
  • November 5, 2013

It is currently filed as a defect (D-005615) and no I don't believe it did.


Forum|alt.badge.img+5
  • New Contributor
  • December 2, 2013

We are currently also having this problem after migrating to 9.x

In people's experience, does simply disabling User-Level Enforced preferences solve the problem on its own? Or do I manually have to tell computers to clear out preferences with a script?

Any hope in sight for a fix from JAMF?


tcam
Forum|alt.badge.img+7
  • Contributor
  • April 4, 2014

I'm also experiencing this issue. Clients are on 10.7.5 JSS is 9.3. I did notice the fallowing.

without MCX from the JSS (ad account)
com.apple.dock:

MCXDockSpecialFolders:

Value: ( AddDockMCXOriginalNetworkHomeFolder ) State: always Source: TheShare (User)

static-others:

Value: ( ) State: always Source: TheShare (User)

loginwindow:

AutoLaunchedApplicationDictionary-managed:

Value: ( { AuthenticateAsLoginUserShortName = 1; "MCX-NetworkHomeDirectoryItem" = 1; } ) State: always Source: TheShare (User)

with the JSS MCX (ad account)
com.apple.dock:

MCXDockSpecialFolders:

Value: ( AddDockMCXOriginalNetworkHomeFolder ) State: always Source: TheShare (User), TheShare (User)

static-others:

Value: ( { "tile-data" = { "file-data" = { "_CFURLString" = "file://localhost/Volumes/TheShare//"; "_CFURLStringType" = 15; }; "file-label" = "TheShareU2019s Network Home"; }; "tile-type" = "directory-tile"; } ) State: always Source: TheShare (User), TheShare (User)

loginwindow:

AutoLaunchedApplicationDictionary-managed:

Value: ( ( { AuthenticateAsLoginUserShortName = 1; "MCX-NetworkHomeDirectoryItem" = 1; URL = "smb://TheServer/TheShare"; } ), { AuthenticateAsLoginUserShortName = 1; "MCX-NetworkHomeDirectoryItem" = 1; } ) State: always Source: TheShare (User), TheShare (User)


tcam
Forum|alt.badge.img+7
  • Contributor
  • April 7, 2014

the solutions above did not work for me. So this is what i'm using for now.

#!/bin/bash

#### mountHome.sh
#### mount windows network home share


#### Read in the parameters
####
mountPoint=$1
computerName=$2
username=$3
theDomain=$4
customParameter2=$5
customParameter3=$6
customParameter4=$7
customParameter5=$8
customParameter6=$9



##### Echo input parameters
#####
echo ""
echo "Target Drive Mount Point:   $mountPoint"
echo "ComputerName:               $computerName"
echo "Username:                   $username"
echo "theDomain:                  $theDomain"
echo "Custom Parameter 2:         $customParameter2"
echo "Custom Parameter 3:         $customParameter3"
echo "Custom Parameter 4:         $customParameter4"
echo "Custom Parameter 5:         $customParameter5"
echo "Custom Parameter 6:         $customParameter6"
echo ""


#### set OS verion
# 
OS=`/usr/bin/defaults read /System/Library/CoreServices/SystemVersion ProductVersion | awk '{print substr($1,1,4)}'`

#### get home folder location
####
#if [[ "$OS" < "10.6" ]]; then
#   echo "OS less then or euqal to 10.6"
#   targetHome=$(dscl /Active Directory/All Domains/Users -read /Users/"$username" SMBHome | sed 's/^.{9}//' | sed 's/\\///g')
#ELSE
    echo "OS is greater then 10.6"
    targetHome=$(dscl /Active Directory/"$theDomain"/All Domains -read /Users/"$username" SMBHome | sed 's/^.{9}//' | sed 's/\\///g')
#fi

#### echo $targetHome
####
echo ""
echo "targetHome:         $targetHome"
echo ""

#### set share name
####
homeName=$(basename "$targetHome")


#### echo $homeName
####
echo ""
echo "homeName:         $homeName"
echo ""

#### mount Share
####
/usr/bin/su - "$username" -c "mkdir /Volumes/"$homeName" ; /sbin/mount_smbfs smb:"$targetHome" /Volumes/"$homeName""


exit 0

(requires theDomain)