Khymon1

Q: Sync of mobile users just does not work

Hello there,

 

I am still trying to get sync of mobile users working, but no matter what I do - it just doesn't work. I even followed the explanations in "El Capitan Server - Control & Collaboration", but I don't get it.

 

Is anybody here just willing to get me trough this correctly? I would really appreciate this.

 

Greets.

Mac mini, OS X Yosemite (10.10), with server 10.10

Posted on Aug 25, 2016 3:40 AM

Close

Q: Sync of mobile users just does not work

  • All replies
  • Helpful answers

  • by catch pikachu,

    catch pikachu catch pikachu Aug 25, 2016 3:47 AM in response to Khymon1
    Level 1 (47 points)
    Notebooks
    Aug 25, 2016 3:47 AM in response to Khymon1
  • by Khymon1,

    Khymon1 Khymon1 Aug 25, 2016 5:21 AM in response to catch pikachu
    Level 1 (4 points)
    Apple Watch
    Aug 25, 2016 5:21 AM in response to catch pikachu

    Sorry, but this does not help me. I think, it would be good if I resume my problem:

     

    1. Used Hardware:

     

    - Server:

    Mac Mini Server with Mac OS X 10.11.6 and Server 5.1.7.

     

    - Client (on which I check):

    MacBook with Mac OS X 10.11.6

     

    2. Settings:

     

    - Server:

    Test Account:

    Home dir               : Local only

    Path to Home Dir  : /Users/username

     

    - Profilemanager:

    Mobility:

    Create User Folder: Netrwork Folder, standard sync settings

    Location of User Folder: On the Startvolume

    Show status in menu

     

    3. Problem:


    When I click on the sync symbol in the menu, sync tries to start, but fails with "no write permissions of network home folder in (null)".

     

    4. What should happen:

     

    The home folder should be synchronised with a dir on the Mac Mini

     

    I hope that this makes clear what my problem is.

  • by Khymon1,Solvedanswer

    Khymon1 Khymon1 Aug 26, 2016 1:03 AM in response to Khymon1
    Level 1 (4 points)
    Apple Watch
    Aug 26, 2016 1:03 AM in response to Khymon1

    I got the problem solved, just by trying (although now, there are other points that I am going to address in another question).

     

    I am going through the settings I now made and seem to be relevant for me:

     

    1. Server Manager

     

    1.1 Share Settings

    - Add Path "/Users" to Shares

    - Access Settings (activated):

    SMB

    AFP

    Home Directories over AFP

    - Rights:

    Spotlight: Own

    System Administrator: Read & Write

    Administrators (Group): Read

    All others: Read

     

    1.2 Settings of User Accounts

    - Directory: Local Network Directory

    - Home Folder: Select "Users" (the share made in step 1.1)

    - Advanced Settings:

    Home Directory: /Network/<server-fqdn>/Users/<username>

    Share Point URL: afp://<server-fqdn>/Users

    Path to Home Folder: <username>

     

    2. Profile Manager

     

    2.1 Mobility Settings

    2.1.1 Account Creation

    - Create mobile account when user logs in to network account

    - network home and default sync settings

    - Home folder location: on startup volume

    2.1.2 other tabs (Account Expiry, Rules)

    Default settings, I did not change anything here

     

    2.2 Directory:

    - Type: Open Directory/LDAP

    - Hostname: FQDN of server

    - username/password: Username of account that is able to log in to OD

    - Client-ID: %SerialNumber% (not sure, if this is really important, but I got it from the book metioned earlier)

     

    2.3 Custom Settings:

    Uploaded the following script:

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

    <plist version="1.0">

    <dict>

        <key>LoginRedirection</key>

        <array>

            <dict>

                <key>action</key>

                <string>deleteAndCreateSymLink</string>

                <key>destPath</key>

                <string>/tmp/%@/Library/Caches</string>

                <key>path</key>

                <string>-/Library/Caches</string>

            </dict>

        </array>

        <key>LougoutRedirection</key>

        <array>

            <dict>

                <key>action</key>

                <string>deleteAndCreateSymLink</string>

                <key>destPath</key>

                <string>/tmp/%@/Library/Caches</string>

                <key>path</key>

                <string>-/Library/Caches</string>

            </dict>

        </array>

    </dict>

    </plist>

     

    With all of these settings, the sync works. For the other questions, as said, I will open other questions.