Technical:IntegrateWithOSX

From K12LTSP Wiki

Jump to: navigation, search

Here's a short howto (tested with OS X 10.3 Server and K12LTSP 4.1.1, modified from Eric Harrison's instructions to the k12ltsp list):

1. Bring up Workgroup Manager, click Sharing, select the "Users" share where the home directories reside. Select Protocols, and NFS Export Settings from the dropdown. Check Export this item and its contents to: and select Client. Click Add and enter your IP of your LTSP server. I checked Map Root user to nobody and unchecked Map All users to nobody and Read-only. 2. On the Linux box, create the home directory mount point and mount it... (where "server" is the name of the server)

mkdir /Network/Servers/server/Users
mount server.yourdomain:/Network/Servers/server/Users /Network/Servers/server/Users

3. run "ls /Network/Servers/server/Users" to make sure the mount worked ok. If so, add it to /etc/fstab

server.yourdomain:/Network/Servers/server/Users /Network/Servers/server/Users nfs defaults,rsize<code>8192,wsize</code>8192 0 0

4. Run the following command:

ldapsearch -x -h server.yourdomain -b dc<code>server "(uid</code>*)" dn

it should return a bunch of entries such as:

       # user1, users, server
        dn: uiduser1,cnusers,dc=server
        # user2, users, server
        dn: uiduser2,cnusers,dc=server

5. Run "authconfig" and on the first screen select:

       x  Cache Information
       x  Use LDAP
                 Server: server.yourdomain
                 Base DN: dc=server
    on the second screen select:
       x Use LDAP Authentication
                 (the Server & Base DN settings will default to the 1st screen)

6. At this point you should be able to login on the console using a username/password that exists on the MacOS X server. You have to login in with the user's short name.

Under OS X 10.3 file locking now works over NFS, so you shouldn't have any problems with apps that require file locking.

Personal tools