Date: Tue, 8 May 2001 13:50:09 -0300 (ADT) From: The Hermit Hacker <scrappy@hub.org> To: <airlied@samba.org> Cc: <freebsd-questions@freebsd.org> Subject: msgget() in pamsmbd for pam_smb module ... Message-ID: <Pine.BSF.4.33.0105081346051.10294-100000@mobile.hub.org>
next in thread | raw e-mail | index | archive | help
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
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0105081346051.10294-100000>
