Hi Nigel, Add this line to the /etc/nsswitch.conf file in the client:
shadow: files [NOTFOUND=return] The client will only look at the local shadow file, if the entry is not there, it will stop searching for it. Rodolfo Martínez On Wed, Aug 12, 2009 at 2:22 AM, Sonia Hamilton<[email protected]> wrote: > 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? > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
