From owner-freebsd-stable@FreeBSD.ORG Tue May 16 15:43:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 523F116A508 for ; Tue, 16 May 2006 15:43:15 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94B0F43D55 for ; Tue, 16 May 2006 15:43:14 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Fg1hY-0008hs-VM; Tue, 16 May 2006 19:43:13 +0400 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Fg1i5-000N2w-I4; Tue, 16 May 2006 19:43:45 +0400 To: "Dominic Marks" References: <4890.195.12.22.194.1147785750.squirrel@mail.helenmarks.co.uk> From: Boris Samorodov Date: Tue, 16 May 2006 19:43:45 +0400 In-Reply-To: <4890.195.12.22.194.1147785750.squirrel@mail.helenmarks.co.uk> (Dominic Marks's message of "Tue, 16 May 2006 14:22:30 +0100 (BST)") Message-ID: <60541134@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org Subject: Re: xdm + pam + winbind, what am i missing? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2006 15:43:15 -0000 On Tue, 16 May 2006 14:22:30 +0100 (BST) Dominic Marks wrote: > I must be missing something because I can't get xdm to work happily > with pam_winbind. The 6.1 system is joined to a Windows domain and > aware of domain users. I log on to the machine using my domain account > via SSH and all is well. > I've enabled xdm and restarted init. Connections from any host are > permitted. I have also modified the pam.d/xdm file to use the winbind > pam module for authentication. > I get a login screen and my username and password are correctly > checked against Active Directory. I have setup a ~/.xsession file > which should log me in and start a Gnome environment. > What actually happens is that the connection seems to drop and > reconnect and I end up back at an xdm prompt. In the system messages > log I have the following: > xdm: pam_sm_close_session(): no utmp record for DESKTOP:0 > * DESKTOP is the hostname of my desktop system from which I am > connecting. > I tried commenting out the session line in pam.d/xdm which this > message comes from, it removes the error but doesn't change the > behaviour so I assume it is not directly related. > I couldn't find anything in the Handbook to help me on my way. > If anyone could tell me the missing link I would appreciate it greatly. Can't say for sure if it may help you, but I also had problems with xdm, pam and auth. The result was: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96436 Hope that it might help you. WBR -- Boris B. Samorodov, Research Engineer InPharmTech Co, http://www.ipt.ru Telephone & Internet Service Provider