Technical:OSXClientToK12LTSPLDAPAFP
From K12LTSP Wiki
[edit]
Configure Netatalk server
- Add uamsguest.so to AFPDUAMLIST in /etc/atalk/netatalk.conf
- Add share definition to /etc/atalk/AppleVolumes.default:
/home Users cnidscheme:dbd
[edit]
Add required attributes to each LDAP user
- Add apple.schema to /etc/openldap/schema from http://www.opensource.apple.com/darwinsource/10.4/OpenLDAP-68/OpenLDAP/servers/slapd/schema/apple.schema
- Uncomment
apple-user-homeDirectoryattribute and restart openldap. - Add the attribute
apple-user-homeurlto each user with value:<homedir><url>afp://hostname/Users</url><path>username</path></homedir> - Add the attribute
apple-user-homeDirectoryto each user with value:/Network/Servers/hostname/Users/username
[edit]
Configure Mac OS X client
- Open /Applications/Utilities/Directory Access
- Select LDAPv3, check Enable if it isn't already, Configure...
- New...
- Server name:
ldap.yourdistrict.k12.or.us - Manual
- Name the configuration
- Change LDAP Mappings to RFC 2307 (Unix)
- Set search base to
dc=mydistrict,dc=k12,dc=or,dc=us(or similar) - Edit
- Search & Mappings
- Under Users, change the NFSHomeDirectory mapping from homeDirectory to apple-user-homeDirectory
- Under Users, click Add...
- Select HomeDirectory, click OK
- Add a mapping for HomeDirectory to apple-user-homeurl
- Open /Applications/Utilities/NetInfo Manager
- Click the lock to make changes
- Select mount, click New
- Add properties:
| Properties | Values |
|---|---|
name
| hostname:/Users
|
dir
| /Network/Servers/
|
vfstype
| url
|
opts
| net
|
Reboot; alternatively you could reload the DirectoryService and the automounter on OS X...
