It's my first post on this forum , and i'm new to linux. Please be
kind with me :)
I'm trying to setup a NIS server/client.
All the services for the server have been setup and run normally.
The NIS server can listen itself.
But, for the client, it's different. I get the message:
Listening for a NIS domain server [Failed]
I read somewhere on the web that if i can't use telnet, i can not
listen the NIS server.
So i tried to install / configure telnet, but i get everytime the
message :
unencrypted connection refused. Goodbye
I have added my server in the list of the trusted network in the
telnet conf file.
It's really annoying ! Could someone help me please ?
Thanks,
bubu
ps ; i'm running centos 5 64bits on both machines.
Telnet has absolutely nothing to do with NIS.
There are several things to consider with NIS: the settup, the start at
boot, the /etc/exportfs and /etc/nsswitch.conf files, as well as enabling
firewalls to deal with the necessary traffic.
http://lmgtfy.com/?q=nis+howto+redhat
I was able to figure out my problem : Selinux !!! So i have disabled
it, and now, every thing is fine :)
Thank you so much for your reply though.
best,
bubu
> I was able to figure out my problem : Selinux !!! So i have disabled
> it, and now, every thing is fine :)
I didn't even consider that, and I'm sorry. I was intrigued by the advent of
SeLinux several years ago when the NSA released it as a response to all the
crap they'd observed in M$ while welcoming open-source OSs, but dismissed it
after finding several roadblocks in its implementation and difficulty of
usage.
As always, I find security through iptables (after much time with ipchains)
and real-time system monitoring.
I'm glad your problem is solved.
No need to apologize, really, and your reply was sensible :)
It very easy to make a mistake while configuring NIS, so a link to
tutorial was a very good answer.
I noticed that, most of the tutorials don't speak about firewall or
security settings. I guess (???) everyone is going with a trusted
network, without firewall/Selinux ?