Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] NIS problem - non-existent map


Nigel Allen wrote:

Hi

Running Centos 4 with one machine as YP server (ypserv 2.8) and one as a yp client.

In the messages log of the server I constantly see messages like this:

Aug 12 12:28:46 sydsrv12 ypserv[20413]: refused connect from 192.168.0.56:38230 to procedure ypproc_match (jgc,shadow.byname;-1) Aug 12 12:29:14 sydsrv12 ypserv[20413]: refused connect from 192.168.0.56:38230 to procedure ypproc_match (jgc,shadow.byname;-1) Aug 12 12:29:22 sydsrv12 ypserv[20413]: refused connect from 192.168.0.56:38230 to procedure ypproc_match (jgc,shadow.byname;-1) Aug 12 12:30:13 sydsrv12 ypserv[20413]: refused connect from 192.168.0.56:38230 to procedure ypproc_match (jgc,shadow.byname;-1)

sydsrv56 is the client btw.

How can I find what program is trying to access the shadow.byname map? I suspect (from the frequency) that it dovecot may be the culprit

The server does not have that map and on the client there is no mention of shadow in the nsswitch.conf - all commented out.

Any clues please?

touch the file shadow.byname and use lsof + grep in a loop in a shell script?