Configuring File Shares with Jamf Connect Verify

If you have configured Kerberos in Jamf Connect Verify, you can also configure Jamf Connect Verify to include a file share menu item. This menu item is added with an additional configuration profile written to the following domain:

com.jamf.connect.shares

Note: Adding multiple shares can make this setting difficult to manage. Testing and deploying a simple configuration profile first is recommended.

The following configuration profile is an example of file share configuration:

<plist version="1.0">
<dict>
<key>PayloadOrganization</key>
<string>Jamf</string>
<key>PayloadDisplayName</key>
<string>Jamf Connect Shares</string>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadIdentifier</key>
<string>CA078AF9-34E4-43BE-A485-E01326AA4DFF</string>
<key>PayloadContent</key>
<array>
<dict>
<key>Shares</key>
<array>
<dict>
<key>Groups</key>
<array/>
<key>ConnectedOnly</key>
<true/>
<key>Options</key>
<array/>
<key>Name</key>
<string>Public</string>
<key>LocalMount</key>
<string></string>
<key>URL</key>
<string>smb://test.com/Public</string>
<key>AutoMount</key>
<false/>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Jamf Connect Shares</string>
<key>Version</key>
<string>1</string>
<key>PayloadType</key>
<string>com.jamf.connect.shares</string>
<key>HomeMount</key>
<dict>
<key>Groups</key>
<array/>
<key>Options</key>
<array/>
<key>Mount</key>
<false/>
</dict>
<key>PayloadOrganization</key>
<string>Jamf</string>
<key>PayloadIdentifier</key>
<string>DBB0A83B-5A40-46F2-BE6A-296E32C92F8B</string>
<key>PayloadUUID</key>
<string>DBB0A83B-5A40-45F2-BE6A-286E32C92F8B</string>
<key>PayloadEnabled</key>
<true/>
<key>PayloadDescription</key>
<string>Jamf Connect Shares</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadUUID</key>
<string>CA078AF9-34E4-43BE-A485-E02326AA4DFF</string>
<key>PayloadEnabled</key>
<true/>
<key>PayloadDescription</key>
<string></string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>

Key-Value Pairs

Key

Description

Example

HomeMount

Determines if a user's home profile should be mounted. This is written as a dictionary of keys including the Groups and Options keys.

<key>HomeMount</key>
<dict>
<key>Groups</key>
<array/>
<key>Options</key>
<array/>
<key>Mount</key>
<false/>
</dict>

Groups

Specifies which active directory group members should have their home profile mounted

Options

An array of mount options

Note: See the Options table for available options.

Shares

Determines a mount point and its associated attributes. This is written as an array of dictionaries.

<key>Shares</key>
<array>
<dict>
<key>Groups</key>
<array>
<string>group1</string>
<string>group2</string>
</array>
<key>URL</key>
<string>smb://dc1.nomad.test/Files</string>
<key>Options</key>
<array/>
<key>Name</key>
<string>Files for you</string>
<key>LocalMount</key>
<string></string>
<key>AutoMount</key>
<true/>
<key>ConnectedOnly</key>
<true/>
</dict>

</array>

AutoMount

If set to true, the share is automatically mounted

ConnectedOnly

If set to true, the share is only mounted when the computer is connected to the active directory domain.

Groups

Specifies which active directory group members should have their home profile mounted.

LocalMount

Specifies a local mount point

Name

Specifies the name of the share displayed as a menu item in Jamf Connect Verify

Options

An array of mount options

Note: See the Options table for available options.

URL

Specifies the URL of the mount point

Options

The following options can be written as an array of strings with the Options key.

Option

Description

MNT_RDONLY

Mounts the share as read only

MNT_SYNCHRONOUS

Specifies that all input and outputs to the file system should be synchronized on the system

MNT_NOEXEC

Prohibits code executions from the share

Related Information

For related information see the following sections of this guide:

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2019 Jamf. All rights reserved.