From owner-freebsd-questions Tue May 8 9:57:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from admin.csn.ul.ie (admin.csn.ul.ie [136.201.105.1]) by hub.freebsd.org (Postfix) with ESMTP id 0DCC037B422 for ; Tue, 8 May 2001 09:57:13 -0700 (PDT) (envelope-from airlied@samba.org) Received: from holly.csn.ul.ie (holly [136.201.105.4]) by admin.csn.ul.ie (Postfix) with ESMTP id B6B21300A; Tue, 8 May 2001 17:57:11 +0100 (IST) Received: from skynet.csn.ul.ie (skynet [136.201.105.2]) by holly.csn.ul.ie (Postfix) with ESMTP id 5AD8F2B3F0; Tue, 8 May 2001 17:57:11 +0100 (IST) Received: by skynet.csn.ul.ie (Postfix, from userid 2139) id A8A13A8A2; Tue, 8 May 2001 17:57:09 +0100 (IST) Received: from localhost (localhost [127.0.0.1]) by skynet.csn.ul.ie (Postfix) with ESMTP id 96766A8A1; Tue, 8 May 2001 17:57:09 +0100 (IST) Date: Tue, 8 May 2001 17:57:09 +0100 (IST) From: Dave Airlie X-X-Sender: To: The Hermit Hacker Cc: , Subject: Re: msgget() in pamsmbd for pam_smb module ... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, do a ./configure --help on the pam_smb module it should have an option allow non root or something .. /me is away from esay access and in a hurry so sorry I can't give any more info.... Regards, Dave. On Tue, 8 May 2001, The Hermit Hacker wrote: > > Morning ... > > I'm trying to get the newest CVS of pam_smb working to > authenticate our Cyrus IMAPd users, and have come across a problem that > I'm not sure if easily rectifiable ... > > Whenever I connect and do an authenticate, I get the following > error message generated: > > May 8 13:47:36 new-relay pop3d[66057]: pamsmbd : msg_snd problem > > Looking at the code, its generated in queue_valid.c only: > > ============ > if(msgsnd(mid, (struct msgbuf *)&msg, sizeof(msg), 0) == -1) { > syslog(LOG_AUTHPRIV | LOG_ERR, "pamsmbd : msg_snd problem"); > return 2; > } > ============ > > Now, I've been wracking my brain over this, trying to figure out > why it is that ftpd can authenticate no problem this way, but the cyrus > imapd can't ... when it hit me. Cyrus IMAPd runs as the user cyrus, not > as root ... the pamsmbd process runs as user root ... is there a > restriction that a is preventing a non-root user from authenticating > through the pamsmbd process? > > Thanks ... > > > Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy > Systems Administrator @ hub.org > primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org > > -- David Airlie, Software Engineer http://www.skynet.ie/~airlied / airlied@skynet.ie pam_smb / Linux DecStation / Linux VAX / ILUG person To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message