How do I (or where are the instructions?) take an existing
"local" NetInfo DB and make it the root for two machines?
Bear in mind that the following instructions did work, once upon a
time, but that I've never tried setting up NetInfo this way on a
Darwin environment. Your Macs may do weird things like go on a
bezerker rampage, or cover themselves in a black magnesium alloy and
welcome you into the 1990s. They may do nothing at all.
So, we've got two machines, and three NetInfo domains [the domain
tags "local@machine" and "machine/local" are equivalent]:
You *ought* to be able to get them talking by putting the following
entries in the various domains. As I say, this should work, I've
never tried it on Darwin. Apple may have changed something, however
NetInfo Manager.app is still compatible with some *cough* legacy
systems I have running NetInfo, so hopefully it all just works.
on server/local, create a subdirectory /machines/server and give it
the following properties:
name: server
ip_address: 192.168.0.1
serves: ./local, ../network
on server/network, there ought to also be a /machines/server:
name: server
ip_address: 192.168.0.1
serves: ./network, server/local
as well as a /machines/client (on network@server):
name: client
serves: client/local
On local@client, we set up the following subdirectories:
/machines/client
name: client
ip_address: 192.168.0.2
serves: ./local
/machines/server
name:server
serves: ../network
You may need to reboot some stuff but I doubt it, if you do then the
server goes first. Other things to fiddle with if it all goes
pyrusoid include the /trusted_networks property on each database,
putting FQDNs as well as hostnames into the "name" of each /machines/
$foo and of course checking to make sure that nibindd is actually
starting all of your netinfods....
--
Graham Lee GPG Key ID: 01D5B9D8
UNIX Systems Manager,
Oxford Physics Practical Course
http://users.ox.ac.uk/~wadh1342 01865 273450
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwinos-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwinos-users/email@hidden
This email sent to email@hidden