Using Networked Home Directories with Mac OS X? 74
trouser asks: "I work in a small office using Macs running Mac OS X and PCs running Linux (Debian). There's no problem sharing files between the machines using Samba, Netatalk, and FTP. However, we want to set the Macs up so that at login they mount home directories from one of the Linux boxes so that we get the same home directory no matter which machine we login on. I've read a little about doing this using NetInfo but I gather with LDAP being included with Jaguar that there might be other options now. Any clues?"
LDAP Infos/MacOS X (Score:5, Informative)
http://a320.g.akamai.net/7/320/51/1739d12419ef7
LDAP = Lightweight Directory Access Protocol
Re:NFS? (Score:2, Informative)
Server (Score:4, Informative)
While you don't need Mac OS X Server to do this, the same resources will apply. I would recommend the OS X Server mailing list [apple.com], or the X Server Admin Guide [akamai.net]. Both are good sources of info for doing just this kind of thing.
Also take a look at some non-Apple resources: AFP548.com [afp548.com] is consistently the most current, and has a question and answer bulletin board; there's also StepWise [stepwise.com], an oldie but goodie.
Hope that helps, and good luck.
amd automounter of NFS filesystems (Score:2, Informative)
-Rusty
Apple Training (Score:5, Informative)
Apple provides for-fee technical training that covers this and other very useful topics. The courses are generally a week long and involve instructor-led, hands-on training in setting up a network with Mac OS X and Mac OS X Server. IMNSH (and quite biased 'cause I helped write it!
We're working on the revisions for Jaguar right now, and expect to go live with the first course deliveries in a month or so. Go to the Apple Training website [apple.com] for more information.
--Paul
Paul Suh
Curriculum Developer
Apple Technical Training
(Help me keep my job! Buy training from Apple!
Would be nice, yes (Score:2, Informative)
macosxlabs.org [macosxlabs.org] is a good site to visit. Several universities are trying this, including the one I work at.
We've got a lab with both XP Pro and OS X computers who have their home directories mounting of a network attached storage device. Account info is pulled from a Samba server for the PCs and an NIS server for the Macs. Marcel Bresink has a nice utility for placing the NFS mount info into Netinfo's database with the right syntax. He also has thorough documentation [bresink.de] on getting Mac OS X to speak to an NIS server.
One thing I'd like to see is better documentation for OS X Server 10.2. OS X Server 10.2 is supposed to be do "NFS resharing over AFP" making it easier to have home directories stored on an NAS device. That gets NFS mounted to the OS X Server which looks at that as the home directory location for all the users. That mountpoint then gets shared to users over AFP. It has not been successful and the nice thick server admin guide isn't very clear on the resharing feature except to say that it is there.
It is possible and has been done (Score:2, Informative)
It's always nice to talk to people who have done it before..
OpenLDAP and 10.2 (Score:3, Informative)
Re:LDAP/NFS/Samba? Let's get simple. (Score:2, Informative)
OS X automount (Score:2, Informative)
enter this in the
[kaninen:~] morth% nidump -r
{
"name" = ( "mounts" );
CHILDREN = (
{
"vfstype" = ( "nfs" );
"name" = ( "moroten:/" );
"opts" = ( "net", "resvport", "rw" );
},
{
"vfstype" = ( "nfs" );
"name" = ( "moroten:/home" );
"opts" = ( "rw", "resvport", "net" );
},
(etc)
}
You might want to add the hosts in
These mounts will appear as
and
The "net" entry in opts is very important. automount ignores any entry without it.