From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 373 invoked from network); 22 Aug 2000 11:48:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Aug 2000 11:48:22 -0000 Received: (qmail 27990 invoked by alias); 22 Aug 2000 11:48:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12685 Received: (qmail 27982 invoked from network); 22 Aug 2000 11:48:04 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: Check for NIS Date: Tue, 22 Aug 2000 15:47:58 +0400 Message-ID: <001201c00c2e$d1063dd0$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 We check for NIS by testing return value of ypcat. I am not sure it is correct way to do it (actually, I am pretty sure, it is the wrong way). ypcat may fail if system currently is not configured for NIS; or no server temporary is available. It has nothing to do with having needed functions and headers that we actually intend to check for. -andrej Have a nice DOS! B >>