From owner-freebsd-questions Fri Sep 29 07:18:54 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id HAA16914 for questions-outgoing; Fri, 29 Sep 1995 07:18:54 -0700 Received: from falco.ibama.gov.br ([200.6.48.80]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id HAA16877 for ; Fri, 29 Sep 1995 07:18:36 -0700 Received: by falco.ibama.gov.br (AIX 3.2/UCB 5.64/4.03) id AA08557; Fri, 29 Sep 1995 11:18:17 -0300 Newsgroups: comp.unix.bsd.freebsd.misc Path: jazz.cr-df.rnp.br!usenet From: "Andries J. Algera" Subject: NIS maps and passwd file formats problem? Content-Type: text/plain; charset=us-ascii Message-Id: Content-Transfer-Encoding: 7bit Organization: CSR - IBAMA Mime-Version: 1.0 Date: Mon, 25 Sep 1995 20:33:30 GMT X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.3 sun4m) X-Url: news:comp.unix.bsd.freebsd.misc Lines: 42 Resent-Date: Fri, 29 Sep 1995 11:17:56 -0300 (GRNLNDST) Resent-From: Bernardo Brummer Resent-To: freebsd-questions@freebsd.org Resent-Message-Id: Apparently-To: freebsd-questions@freebsd.org Sender: owner-questions@freebsd.org Precedence: bulk I recently installed Freebsd and would like to have it using NIS for authentication. We already have a NIS+ server in NIS mode running on a SPARC w/ Solaris 2.3. The machine w/ FreeBSD seems to recognize perfectly well the NIS server, commands like ypcat passwd give the result I expect. In order to be able to use the NIS-password map for loging in, I put the following at the end of the password file (using vipw) +::::::::: So one would expect to be able to log in. However to my surprise I get the following error after typing a login name: yp_order: clnt_call: RPC: Procedure unavailable I suppose that the format of the password file and the NIS map are different. I found the password file having the format as described in passwd(5), whereas the NIS map has the following format (7 fields instead of 10): andries:z6rdfghast1.:330:30:Andries Algera:/home/vera:/bin/ksh Could anyone out there help me to solve this problem. Cheers, Andries -- -------------------------------------------------------------------- Andries Algera CSR - IBAMA Brasilia / DF - Brasil ph: +5561 316-1218 316-1219 316-1220 --------------------------------------------------------------------