From owner-freebsd-current Thu Feb 6 16:30: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2AD637B401 for ; Thu, 6 Feb 2003 16:30:00 -0800 (PST) Received: from 3jane.math.ualberta.ca (3jane.math.ualberta.ca [129.128.206.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15B7043F93 for ; Thu, 6 Feb 2003 16:30:00 -0800 (PST) (envelope-from bvowk@math.ualberta.ca) Received: from 3jane.math.ualberta.ca (localhost.math.ualberta.ca [127.0.0.1]) by 3jane.math.ualberta.ca (8.12.6/8.12.6) with ESMTP id h170Sv8c067162 for ; Thu, 6 Feb 2003 17:28:57 -0700 (MST) (envelope-from bvowk@math.ualberta.ca) Received: from localhost (bvowk@localhost) by 3jane.math.ualberta.ca (8.12.6/8.12.6/Submit) with ESMTP id h170SvUV067159 for ; Thu, 6 Feb 2003 17:28:57 -0700 (MST) X-Authentication-Warning: 3jane.math.ualberta.ca: bvowk owned process doing -bs Date: Thu, 6 Feb 2003 17:28:57 -0700 (MST) From: Barkley Vowk To: freebsd-current@freebsd.org Subject: sshd + NIS = bad mojo? Message-ID: <20030206171429.G48482-100000@3jane.math.ualberta.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm upgrading my cluster to 5.0-R (fresh from CD), and everything works swimmingly except logging in as user on the YPmap. [3jane:~$] ssh ypuser@mcp Password: Connection to mcp.evil.mil closed by remote host. Connection to mcp.evil.mil closed. [3jane:~$] ssh user@mcp Password: However, I can su, finger and all files list the correct ownership on the system, leading me to believe that yp is actually working. When I check the logs, I see this message: Feb 6 17:09:32 MCP sshd[562]: fatal: login_get_lastlog: Cannot find account for uid 1002 Which I tracked to loginrec.c line 296: pw = getpwuid(uid); if (pw == NULL) fatal("login_get_lastlog: Cannot find account for uid %i", uid) And that looks idential to the working code on 4.6.2... So perhaps I've missed some configuration somewhere or there is something wrong with the library. Am I missing something? (I don't think so, the configuration is identical to the working 4.6.2 setup I was running until this afternoon) or is this a bug? ----------------------------------------------------------- Barkley C. Vowk -- Systems Analyst -- University of Alberta Math Sciences Department - Barkley.Vowk@math.ualberta.ca Office: CAB642A, 780-492-4064 Opinions expressed are the responsibility of the author and may not reflect the opinions of others or reality. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message