Hi Ben,
Has the service been started, traditionally /usr/lib/netsvc/yp/ypstart
though
svcadm enable svc:/network/nis/client:default will do the trick.
Stace
On 03/10/10 14:57, Ben wrote:
Hi all,
Sorry if this is in the wrong place, couldn't see a NIS board...
I'm currently doing part of my dissertation and I need some sort of naming
service, the project is fairly small and NIS would be ideal (LDAP is far too
big, DNS won't do users, etc.)
I have four machines, freshly installed. On the master I install SUNWyp.
I set the domainname and put that into /etc/defaultdomain,
All of the machines are in each others hosts files,
I set off ypinit -m and it goes through nicely.
I then go to machine 2, do the domainname stuff, hosts file is correct.
I follow the rest of the instructions in The OpenSolaris Bible and finally run
ypinit -c
It complains that some services aren't there (because I didn't install SUNWyp),
but otherwise seems fine. I make sure nis/client is enabled.
When I do ypwhich in the NIS client, it says:
Domain <domainname> is not bound on <localhost>
(e.g. Domain mydomain is not bound on nisclient)
The NIS master knows its a NIS master and echos it's name back when I type
`ypwhich` on it.
I have tried installing SUNWyp on the client system, then going through all the
steps, but still no luck.
A year or so ago I did the Sun Solaris 10 Admin part 1 and part 2 courses, I
still have the course books and followed their instructions (I know it was for
Solaris 10, but it was very similar to the instructions in the OpenSolaris
Bible). Even after following these instructions I have had no luck. I get the
same error message on the NIS clients...
The master and clients are all running OpenSolaris 2009.06 with no updates, and
I'm currently running them in VirtualBox 3.1.2 (3.1.4 causes problems on my
machine) and they all have bridged networks through the same physical NIC.
Any ideas?
Many, many thanks,
Ben
_______________________________________________
networking-discuss mailing list
[email protected]