* NIS
@ 1999-07-06 4:00 Pawel Skonecki
0 siblings, 0 replies; only message in thread
From: Pawel Skonecki @ 1999-07-06 4:00 UTC (permalink / raw)
I can not run the NIS. I have a Mandrake 5.3 and RH 5.2 (Alpha).
I have to make the NIS servis betwen that serwers.My version of
NIS server is ypserv-1.3.5-1
OK. When I start to configure I have to sign my NIS in portmap.(I make
all
step by step from HOWTO-NIS).
My portmap is runing everytime
[root@kft /root]# ps aux | grep portmap
bin 269 0.0 0.3 760 332 ? S 12:08 0:00 portmap
root 648 0.0 0.3 840 352 p0 S 12:15 0:00 grep portmap
[root@kft /root]#
and I edited /var/yp/securenets
#
# securenets This file defines the access rights to your NIS server
# for NIS clients. This file contains netmask/network
# pairs. A clients IP address needs to match with at least
# one of those.
#
# One can use the word "host" instead of a netmask of
# 255.255.255.255. Only IP addresses are allowed in this
# file, not hostnames.
#
# Always allow access for localhost
255.0.0.0 127.0.0.0
# This line gives access to everybody. PLEASE ADJUST!
255.255.255.128 212.182.8.0
I didn't change my /etc/ypserv.conf
#
# ypserv.conf In this file you can set certain options for the NIS
server,
# and you can deny or restrict access to certain maps
based
# on the originating host.
#
# See ypserv.conf(5) for a description of the syntax.
#
# Some options for ypserv. This things are all not needed, if
# you have a Linux net.
sunos_kludge: no
dns: no
# The following, when uncommented, will give you shadow like passwords.
# Note that it will not work if you have slave NIS servers in your
# network that do not run the same server as you.
# Host : Map : Security :
Passwd_mangle
#
# * : passwd.byname : port : yes
# * : passwd.byuid : port : yes
# Not everybody should see the shadow passwords, not secure, since
# under MSDOG everbody is root and can access ports < 1024 !!!
* : shadow.byname : port : yes
# If you comment out the next rule, ypserv and rpc.ypxfrd will
# look for YP_SECURE and YP_AUTHDES in the maps. This will make
# the security check a little bit slower, but you only have to
# change the keys on the master server, not the configuration files
# on each NIS server.
# If you have maps with YP_SECURE or YP_AUTHDES, you should create
# a rule for them above, that's much faster.
* : * : none
I think that I did all ok. I start ypserv after I make it.
rpcinfo -u kft.umcs.lublin.pl ypserv
and It's answer my system
rpcinfo: RPC: Program not registered
program 100004 is not available
if I run my ypserv again i have this information
program 100004 version 1 ready and waiting
program 100004 version 2 ready and waiting
and I find in my messages
Jul 6 12:08:57 kft ypserv[395]: sunos_kludge (line 12) is not longer
supported.
Jul 6 12:08:57 kft ypserv[395]: Parse error in line 12: => Ignore line
and with option -d
[root@kft yp]# ypserv -d
[Welcome to the NYS YP Server, version 1.3.5 (with tcp wrapper)]
sunos_kludge (line 12) is not longer supported.
Parse error in line 12: => Ignore line
ypserv.conf: 0.0.0.0/0.0.0.0:shadow.byname:2:1:2
ypserv.conf: 0.0.0.0/0.0.0.0:*:0:0:2
Becouse I have to make the NIS I please help my by my NIS server.
--
******************************************************************************
Pawel Skonecki
Polecam strony o Zydach lubelskich http://platon.man.lublin.pl/~stona/JEWS/
******************************************************************************
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-07-06 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-06 4:00 NIS Pawel Skonecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox