From brewhq!uucpgate.hrz.th-darmstadt.de!ifi.uio.no!sverrehu Tue Sep 20 00:19:19 1994
Return-Path: <brewhq!uucpgate.hrz.th-darmstadt.de!ifi.uio.no!sverrehu>
Received: from brewhq by monad.swb.de  with uucp
	(smail3.1.28.1 #1) id m0qmr3K-000Kl9C; Tue, 20 Sep 94 00:19 MET DST
Received: from uucpgate.hrz.th-darmstadt.de by brewhq.swb.de  with uucp
	(Linux Smail3.1.28.1 #1) id m0qmqvu-0005AqC; Tue, 20 Sep 94 00:11 MET DST
Received: from rs2.hrz.th-darmstadt.de by modem.hrz.th-darmstadt.de  with smtp
	(/\==/\ Smail3.1.28.1 #28.6) id <m0qmqmD-0005N7C>; Tue, 20 Sep 94 00:01 MEST
Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by rs2.hrz.th-darmstadt.de (8.6.4/8.6.4) with ESMTP id AAA18742 for <okir@monad.swb.de>; Tue, 20 Sep 1994 00:01:31 +0200
Received: from baugi.ifi.uio.no (4842@baugi.ifi.uio.no [129.240.104.3]) by ifi.uio.no with ESMTP (8.6.8.1/ifi2.4) 
	id <AAA09269@ifi.uio.no> for <okir@monad.swb.de> ; Tue, 20 Sep 1994 00:01:27 +0200
From: "Sverre H. Huseby" <sverrehu@ifi.uio.no>
Received: (from sverrehu@localhost) by baugi.ifi.uio.no ; Tue, 20 Sep 1994 00:01:26 +0200
Date: Tue, 20 Sep 1994 00:01:26 +0200
Message-Id: <199409192201.25547.baugi.ifi.uio.no@ifi.uio.no>
To: okir@monad.swb.de
In-reply-to: <m0qmn4d-000KjdC@monad.swb.de> (okir@monad.swb.de)
Subject: Re: yppasswdd, where?
Status: RO


> Did you try my yppasswdd? You can find it on ftp.lysator.liu.se
> in /pub/NYS. It should work with both traditional NIS and NYS.
> (At least I hope so. Please let me know if you run into any
> problems)

I don't have any libnsl.a - so I removed it from the Makefile
(don't know what that library does, is it important?)
Then yppasswd compiled and linked. When it started chewing
on yppasswdd (which is the programm I need), I got this:

gcc -Wall -O2 -fomit-frame-pointer  -D_GNU_SOURCE -DDEBUG   -c yppasswdd.c -o yppasswdd.o
yppasswdd.c:81: conflicting types for `yppasswdproc_update_1'
yppasswd.h:55: previous declaration of `yppasswdproc_update_1'
yppasswdd.c: In function `yppasswdproc_update_1':
yppasswdd.c:96: warning: implicit declaration of function `setpwfile'
make: *** [yppasswdd.o] Error 1

I use linux-1.1.51, gcc-2.5.8 and libc-4.5.26 (no NYS-support
added). I'm sorry to say that I haven't tried to fix this...

Another thing:if I get that libc-patch, will there be no need
for recompilation of programs to use NYS instead of (traditional)
NIS? I'm too lazy to recompile all the net-progs.. :-)

And while I have you here: Thanks again for your extremely
informative net-guide! I'm using it (and a couple of cheap
Etherlink II) to learn about Unix networking. My need for an
yppasswdd is mostly a play-and-learn thing.


-- 
Sverre.

-----------------------------------------------------------
Sverre H. Huseby                                    Student
sverrehu@ifi.uio.no              University of Oslo, Norway
http://www.ifi.uio.no/~sverrehu

My employer (that's me) is not responsible for my opinions.

