Networking Forums

Networking Forums > Computer Networking > Linux Networking > NIS-server refuses connects from clients

Reply
Thread Tools Display Modes

NIS-server refuses connects from clients

 
 
Dieter Gardeike
Guest
Posts: n/a

 
      12-11-2005, 06:52 PM
Hello,

I replaced an old server by a new one can't get NIS working again. At the
clients I just altered the IP of the server, so they should be OK. Here is
exactly what happens:

client:

<screen>
r4:~ ypbind -debug
parsing config file
Trying entry: ypserver 192.168.0.6
add_server() domain: winux, host: 192.168.0.6, slot: 0
[Welcoms to ypbind-mt, version 1.41]

ping host ´192.168.0.6´, domain ´winux´
Pinging all active server.
</screen>

the last two line are repeated about once per minute or so.

At the server I get the following entry for every ping from the client
in /var/log/messages:

<messages>
.... ypserv[pid]: refused connect from 192.168.0.4:32770 to procedure
ypproc_domain_nonack (winux, ;0)
</messages>

How can I figure out why the connect is refused?

Here my configuration:

Client (SuSE 9.0)

<defaultdomain>
winux
</defaultdomain>

<yp.conf>
ypserver 192.168.0.6
</yp.server>

Server (SuSE 10.0)

<defaultdomain>
winux
</defaultdomain>

<yp.conf>
ypserver localhost
</yp.conf>

<ypserv.conf>
dns: no
files: 30
slp: no
xfr_check_port: no
* : * : shadow.byname : port
* : * : passwd.adjunct.byname : port
</ypserv.conf>

Thanks, Dieter
 
Reply With Quote
 
 
 
 
Dieter Gardeike
Guest
Posts: n/a

 
      12-13-2005, 07:20 PM
Dieter Gardeike wrote:

> ...
> <log>
> ... ypserv[pid]: refused connect from 192.168.0.4:32770 to procedure
> ypproc_domain_nonack (winux, ;0)
> </log>
> ...


Ouch!

Stop the server with

r6:~> rcypserv stop

Restart it with debug output

r6:~> ypserv -d

And I got (now directly to the console):

ypproc_domain_nonack("winux") [From: 192.168.0.4:32770]
refused connect from 192.168.0.4
-> Ignored (forbidden by securenets)

And a close look at /var/yp/securenets revealed transposed digits :-o.

Dieter
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wifi, dhclient and pdnsd, after connection reestablished dns server refuses Cacadril Linux Networking 0 07-12-2007 05:40 PM
[Click the star to watch this topic] how much time i have if i want to migrate a server with clients connected wo clients noticing it will_u_tellmemore Linux Networking 0 12-28-2006 01:21 PM
2003 DHCP server refuses to lease IPs WAaronW Windows Networking 0 03-13-2006 08:19 PM
Dialin Server - Connects but no net activity. Any pointers? Warren Smith Linux Networking 6 10-09-2003 01:18 PM
dns update from dhcp server ok for windows clients, not ok for linux (dhclient) clients Tom Van Overbeke Linux Networking 3 08-07-2003 03:24 PM



1 2 3 4 5 6 7 8 9 10 11