- To: "slug@xxxxxxxxxxx" <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] NIS problem - non-existent map
- From: Rodolfo Martínez <rmtzcx@xxxxxxxxx>
- Date: Wed, 12 Aug 2009 08:30:30 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=kXvWCC856fS46pr9V9njnKzLo9Iw6axDKEOgJCnIhug=; b=gX8OP0DVb1WlCwfIjR3dtVp9YV0qCG735PjxAaYIKHuJPhO4/+C1aJpC6uYHuGU0Ar 6qsBDnUK1zr3epmc/HQbYNzNZLiwM8CL7dn/bc3Ixucmq4FdslPtcYWZfcIwDc2lgOEx UQFxw8ngmwbAGvLd6IecEgYnv12J52ARy3MmM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rx/xHNKG8WchZExXq8lb9l8jZKoUU4mhCbZItMHgIoOAnIPtnOTI5DZw1Qwj4AUQLH EFrMgmk1Sajh0xJwr/y45hYp0Nnv6LAxzXziK3KUz8fh5BqWpeyrckpcBW5ZPfBv3RdH HqxAyznJbFp8ll8FkooWHJZaouFswvn6L9ZeU=
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<sonia@xxxxxxxxxxxx> 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
>