From owner-freebsd-stable@FreeBSD.ORG Tue May 16 14:49:19 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 7217816A400 for ; Tue, 16 May 2006 14:49:19 +0000 (UTC) (envelope-from dom@helenmarks.co.uk) Received: from mail.goodforbusiness.co.uk (mail.goodforbusiness.co.uk [81.19.179.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FB1543D69 for ; Tue, 16 May 2006 14:49:12 +0000 (GMT) (envelope-from dom@helenmarks.co.uk) Received: from localhost (localhost [127.0.0.1]) by mail.goodforbusiness.co.uk (Postfix) with ESMTP id CE07111470 for ; Tue, 16 May 2006 15:49:11 +0100 (BST) X-Virus-Scanned: mail.goodforbusiness.co.uk Received: from mail.goodforbusiness.co.uk ([127.0.0.1]) by localhost (mail.goodforbusiness.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XU0oeqUAs9Yh for ; Tue, 16 May 2006 15:49:11 +0100 (BST) Received: from mail.helenmarks.co.uk (unknown [192.168.100.1]) by mail.goodforbusiness.co.uk (Postfix) with ESMTP id 175E91146B for ; Tue, 16 May 2006 15:49:11 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mail.helenmarks.co.uk (Postfix) with ESMTP id A76071704D; Tue, 16 May 2006 15:49:10 +0100 (BST) X-Virus-Scanned: amavisd-new at helenmarks.co.uk Received: from mail.helenmarks.co.uk ([127.0.0.1]) by localhost (mail.helenmarks.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HqCnxq-2dm50; Tue, 16 May 2006 15:49:10 +0100 (BST) Received: by mail.helenmarks.co.uk (Postfix, from userid 80) id 274901704B; Tue, 16 May 2006 15:49:10 +0100 (BST) Received: from mailhost.graphdata.co.uk ([195.12.22.194]) (SquirrelMail authenticated user dom) by mail.helenmarks.co.uk with HTTP; Tue, 16 May 2006 15:49:09 +0100 (BST) Message-ID: <3721.195.12.22.194.1147790949.squirrel@mail.helenmarks.co.uk> In-Reply-To: <4890.195.12.22.194.1147785750.squirrel@mail.helenmarks.co.uk> References: <4890.195.12.22.194.1147785750.squirrel@mail.helenmarks.co.uk> Date: Tue, 16 May 2006 15:49:09 +0100 (BST) From: "Dominic Marks" To: "Dominic Marks" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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 14:49:24 -0000 Dominic Marks wrote: > Hello, > > 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. Well, it works with gdm. I still don't know why xdm didn't work though. Dominic > Thanks, > Dominic Marks > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to > "freebsd-stable-unsubscribe@freebsd.org" >