From owner-freebsd-questions Sat Feb 20 15:28:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from guepardo.vicosa.com.br (guepardo.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with SMTP id B678810E6B for ; Sat, 20 Feb 1999 15:28:15 -0800 (PST) (envelope-from grios@netshell.vicosa.com.br) Received: from netshell.vicosa.com.br [200.236.148.201] by guepardo.vicosa.com.br with ESMTP (SMTPD32-4.03) id A7B61130132; Sat, 20 Feb 1999 20:39:34 +03d00 Message-ID: <36CF6025.5C584D3D@netshell.vicosa.com.br> Date: Sat, 20 Feb 1999 22:23:49 -0300 From: Gustavo Vieira G C Rios X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Jeroen Ruigrok/Asmodai Cc: cjclark@home.com, questions@freebsd.org Subject: Re: NIS References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can i use MD5 with NIS (my server is FreeBSD), my clients is linux/FreeBSD ? Jeroen Ruigrok/Asmodai wrote: > > On 20-Feb-99 Crist J. Clark wrote: > > Jeroen Ruigrok/Asmodai wrote, > >> what could cause rpc.yppasswdd to `hang' at boot up? And with hang I > >> mean it seems to need to time out on something. > > > > Is the machine a master server, slave server, or client? > > A server, master, else I wouldn't be running yppasswdd I guess ;) > > >> If further details are needed with regard to what I configured and/or > >> set up for NIS please let me know. > > > > If you use the out-of-the-box /etc/rc* files to start NIS, could you > > provide output from the following: > > > > % uname -a > > % grep ^nis /etc/rc.conf > > OK, I'm running 4.0: > > FreeBSD daemon.ninth-circle.org 4.0-CURRENT FreeBSD 4.0-CURRENT #12: Sun > Feb 14 19:24:39 CET 1999 > asmodai@daemon.ninth-circle.org:/work/FreeBSD/src/sys/compile/DAEMON i386 > > [asmodai@daemon] (24) $ grep ^nis rc.conf > nisdomainname="ninth-circle" # Set to NIS domain if using NIS > (or NO). > nis_client_enable="NO" # We're an NIS client (or NO). > nis_client_flags="" # Flags to ypbind (if enabled). > nis_ypset_enable="NO" # Run ypset at boot time (or NO). > nis_ypset_flags="" # Flags to ypset (if enabled). > nis_server_enable="YES" # We're an NIS server (or NO). > nis_server_flags="" # Flags to ypserv (if enabled). > nis_ypxfrd_enable="NO" # Run rpc.ypxfrd at boot time (or NO). > nis_ypxfrd_flags="" # Flags to rpc.ypxfrd (if enabled). > nis_yppasswdd_enable="YES" # Run rpc.yppasswdd at boot time (or NO). > nis_yppasswdd_flags="-t /var/yp/master.passwd -v" # Flags to > rpc.yppasswdd (if enabled). > > So we also need an ll from /var/yp: > > [asmodai@daemon] (29) $ ll > total 43 > 1 drwxr-xr-x 3 root wheel - 512 Feb 20 23:49 ./ > 1 drwxr-xr-x 19 root wheel - 512 Dec 30 23:18 ../ > 18 -r--r--r-- 1 root wheel - 18126 Feb 16 20:23 Makefile > 18 -r--r--r-- 1 root wheel - 18126 Feb 15 02:29 Makefile.dist > 2 -rw------- 1 root wheel - 1249 Feb 20 13:17 master.passwd > 1 drwxr-xr-x 2 root wheel - 512 Feb 20 13:17 ninth-circle/ > 2 -rw-r--r-- 1 root wheel - 1064 Feb 20 13:17 passwd > 0 -rw-r--r-- 1 root wheel - 0 Feb 16 20:41 ypservers > > ypservers is empty since there's only one server, master.passwd is a > changed version of the /etc one. > > All the NIS maps got created as they should I think. What still confuses me > is that from the tutorials I managed to overview, some mention to add > +::::::::: or +::: to the /var/yp/master.passwd and /etc/group files. > > [asmodai@daemon] (30) $ cd ninth-circle/ > [asmodai@daemon] (31) $ ll > total 1106 > 1 drwxr-xr-x 2 root wheel - 512 Feb 20 13:17 ./ > 1 drwxr-xr-x 3 root wheel - 512 Feb 20 23:49 ../ > 40 -rw------- 1 root wheel - 40960 Feb 20 13:16 group.bygid > 40 -rw------- 1 root wheel - 40960 Feb 20 13:16 group.byname > 40 -rw------- 1 root wheel - 40960 Feb 16 21:40 hosts.byaddr > 40 -rw------- 1 root wheel - 40960 Feb 16 21:40 hosts.byname > 40 -rw------- 1 root wheel - 40960 Feb 20 13:17 master.passwd.byname > 40 -rw------- 1 root wheel - 40960 Feb 20 13:17 master.passwd.byuid > 40 -rw------- 1 root wheel - 40960 Feb 20 13:17 netid.byname > 32 -rw------- 1 root wheel - 40960 Feb 16 21:40 networks.byaddr > 32 -rw------- 1 root wheel - 40960 Feb 16 21:40 networks.byname > 40 -rw------- 1 root wheel - 40960 Feb 20 13:17 passwd.byname > 40 -rw------- 1 root wheel - 40960 Feb 20 13:17 passwd.byuid > 40 -rw------- 1 root wheel - 40960 Feb 16 21:40 protocols.byname > 40 -rw------- 1 root wheel - 40960 Feb 16 21:40 protocols.bynumber > 40 -rw------- 1 root wheel - 40960 Feb 16 21:40 rpc.byname > 40 -rw------- 1 root wheel - 40960 Feb 16 21:40 rpc.bynumber > 496 -rw------- 1 root wheel - 507904 Feb 16 21:40 services.byname > 24 -rw------- 1 root wheel - 40960 Feb 16 21:40 ypservers > > > A little more info about how your network is setup would be helpful > > too. > > Very simple, at the moment the two hosts I'm using in the test environment > are simply crosslinked with UTP cat-5. One the server is using a simple > 192.168.0.1 private space address, 192.168.0.3 is the client. Netmasks are > correct, named on the server runs correctly. > > [asmodai@daemon] (32) $ more /etc/host.conf > bind > hosts > nis > > If ye need anything else, let me know =) > > thanks, > > --- > Jeroen Ruigrok van der Werven http://www.freebsdzine.org> > asmodai(at)wxs.nl This is my Truth, tell me your's... > Network/Security Specialist > *BSD: Powered by Knowledge & Know-how > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- I use UNIX because reboots are for hardware upgrades. You use windowze because the guy on TV told you to ... Gustavo Rios - UNIX System Admin. - UIN 27456973 +---------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message